Bug 65705
| Summary: | GraphicsLayerCA::constrainedSize and PlatformCALayerWinInternal::constrainedSize are redundant | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Adam Roben (:aroben) <aroben> |
| Component: | Layout and Rendering | Assignee: | 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)
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 | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Adam Roben (:aroben)
GraphicsLayerCA::constrainedSize handles overflow more nicely. PlatformCALayerWinInternal::constrainedSize does a nicer job of actually constraining. We should take the best parts of both functions.