Bug 65705

Summary: GraphicsLayerCA::constrainedSize and PlatformCALayerWinInternal::constrainedSize are redundant
Product: WebKit Reporter: Adam Roben (:aroben) <aroben>
Component: Layout and RenderingAssignee: Adam Roben (:aroben) <aroben>
Status: NEW    
Severity: Normal CC: cmarrin, simon.fraser
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   

Adam Roben (:aroben)
Reported 2011-08-04 10:58:27 PDT
GraphicsLayerCA::constrainedSize and PlatformCALayerWinInternal::constrainedSize both fulfill the same function: to ensure that a tiled layer does not exceed a certain size. We should unify these two functions.
Attachments
Adam Roben (:aroben)
Comment 1 2011-08-04 11:22:38 PDT
GraphicsLayerCA::constrainedSize handles overflow more nicely. PlatformCALayerWinInternal::constrainedSize does a nicer job of actually constraining. We should take the best parts of both functions.
Note You need to log in before you can comment on or make changes to this bug.