Summary: | Move transformFriendlyBoundingBox out of Range | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Leandro Graciá Gil <leandrogracia> | ||||||
Component: | HTML Editing | Assignee: | Leandro Graciá Gil <leandrogracia> | ||||||
Status: | RESOLVED FIXED | ||||||||
Severity: | Normal | CC: | abarth, eric, rniwa, simon.fraser, webkit.review.bot | ||||||
Priority: | P2 | ||||||||
Version: | 528+ (Nightly build) | ||||||||
Hardware: | Unspecified | ||||||||
OS: | Unspecified | ||||||||
Attachments: |
|
Description
Leandro Graciá Gil
2012-08-17 11:09:44 PDT
Created attachment 159169 [details]
Patch
Comment on attachment 159169 [details]
Patch
I suggest using RenderObject instead of RenderView as it implements a very similar method called absoluteBoundingBoxRect.
I'd like to hear smfr's opinion here. Comment on attachment 159169 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=159169&action=review Looks good. > Source/WebCore/rendering/RenderObject.h:714 > + static FloatRect absoluteBoundingBoxRectForRange(Range*); Can that be a const Range*? Created attachment 159519 [details]
Patch
Comment on attachment 159169 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=159169&action=review >> Source/WebCore/rendering/RenderObject.h:714 >> + static FloatRect absoluteBoundingBoxRectForRange(Range*); > > Can that be a const Range*? Fixed. Comment on attachment 159519 [details]
Patch
I'll land this manually.
Committed r126074: <http://trac.webkit.org/changeset/126074> |