Bug 81017

Summary: Revert RenderLayer::absoluteBoundingBox to an IntRect
Product: WebKit Reporter: Levi Weintraub <leviw>
Component: Layout and RenderingAssignee: Levi Weintraub <leviw>
Status: RESOLVED FIXED    
Severity: Normal CC: darin, eae, eric, jchaffraix, simon.fraser, webkit.review.bot
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 60318    
Attachments:
Description Flags
Patch none

Description Levi Weintraub 2012-03-13 11:55:16 PDT
RenderLayer::absoluteBoundingBox represents a layer's box in application coordinates and is used mostly by platform code. This change pixel snaps the rect and returns it as an IntRect to avoid exposing sub-pixel units to platform code, and because absolute coordinates make more senes to be in pixels (see also absoluteRects, which uses IntRect).
Comment 1 Levi Weintraub 2012-03-13 12:16:22 PDT
Created attachment 131690 [details]
Patch
Comment 2 Eric Seidel (no email) 2012-03-13 12:17:16 PDT
Comment on attachment 131690 [details]
Patch

OK.
Comment 3 Levi Weintraub 2012-03-13 12:17:47 PDT
Comment on attachment 131690 [details]
Patch

Thanks Eric :)
Comment 4 WebKit Review Bot 2012-03-13 15:53:50 PDT
Comment on attachment 131690 [details]
Patch

Clearing flags on attachment: 131690

Committed r110629: <http://trac.webkit.org/changeset/110629>
Comment 5 WebKit Review Bot 2012-03-13 15:53:55 PDT
All reviewed patches have been landed.  Closing bug.