Bug 78249 - [Chromium] TiledLayerChromium::protectVisibleTileTextures() should only protect the visible textures
Summary: [Chromium] TiledLayerChromium::protectVisibleTileTextures() should only prote...
Alias: None
Product: WebKit
Classification: Unclassified
Component: Layout and Rendering (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Xianzhu Wang
Depends on:
Reported: 2012-02-09 10:26 PST by Xianzhu Wang
Modified: 2012-02-09 21:03 PST (History)
5 users (show)

See Also:

patch (1.30 KB, patch)
2012-02-09 12:02 PST, Xianzhu Wang
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Xianzhu Wang 2012-02-09 10:26:30 PST
For now TiledLayerChromium::protectVisibleTileTextures() protects the whole layer:
    protectTileTextures(IntRect(IntPoint::zero(), contentBounds()));

Should this be changed to protectTileTextures(visibleLayerRect())?
Comment 1 Adrienne Walker 2012-02-09 10:57:58 PST
I think you're right.  I'm not sure why it wasn't this way to begin with.
Comment 2 Xianzhu Wang 2012-02-09 12:02:31 PST
Created attachment 126343 [details]
Comment 3 WebKit Review Bot 2012-02-09 21:03:10 PST
Comment on attachment 126343 [details]

Clearing flags on attachment: 126343

Committed r107352: <http://trac.webkit.org/changeset/107352>
Comment 4 WebKit Review Bot 2012-02-09 21:03:13 PST
All reviewed patches have been landed.  Closing bug.