⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 107352 in webkit


Ignore:
Timestamp:
Feb 9, 2012, 9:02:54 PM (15 years ago)
Author:
wangxianzhu@chromium.org
Message:

[Chromium] TiledLayerChromium::protectVisibleTileTextures() should only protect the visible textures
https://bugs.webkit.org/show_bug.cgi?id=78249

Reviewed by James Robinson.

  • platform/graphics/chromium/TiledLayerChromium.cpp:

(WebCore::TiledLayerChromium::protectVisibleTileTextures):

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r107347 r107352  
     12012-02-09  Xianzhu Wang  <wangxianzhu@chromium.org>
     2
     3        [Chromium] TiledLayerChromium::protectVisibleTileTextures() should only protect the visible textures
     4        https://bugs.webkit.org/show_bug.cgi?id=78249
     5
     6        Reviewed by James Robinson.
     7
     8        * platform/graphics/chromium/TiledLayerChromium.cpp:
     9        (WebCore::TiledLayerChromium::protectVisibleTileTextures):
     10
    1112012-02-09  Hayato Ito  <hayato@chromium.org>
    212
  • trunk/Source/WebCore/platform/graphics/chromium/TiledLayerChromium.cpp

    r107177 r107352  
    338338void TiledLayerChromium::protectVisibleTileTextures()
    339339{
    340     protectTileTextures(IntRect(IntPoint::zero(), contentBounds()));
     340    protectTileTextures(visibleLayerRect());
    341341}
    342342
Note: See TracChangeset for help on using the changeset viewer.