Bug 65705 - GraphicsLayerCA::constrainedSize and PlatformCALayerWinInternal::constrainedSize are redundant
Summary: GraphicsLayerCA::constrainedSize and PlatformCALayerWinInternal::constrainedS...
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Layout and Rendering (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Adam Roben (:aroben)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-04 10:58 PDT by Adam Roben (:aroben)
Modified: 2011-08-04 11:22 PDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Adam Roben (:aroben) 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.
Comment 1 Adam Roben (:aroben) 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.