Title: [107352] trunk/Source/WebCore
Revision
107352
Author
[email protected]
Date
2012-02-09 21:02:54 -0800 (Thu, 09 Feb 2012)

Log 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):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (107351 => 107352)


--- trunk/Source/WebCore/ChangeLog	2012-02-10 04:33:33 UTC (rev 107351)
+++ trunk/Source/WebCore/ChangeLog	2012-02-10 05:02:54 UTC (rev 107352)
@@ -1,3 +1,13 @@
+2012-02-09  Xianzhu Wang  <[email protected]>
+
+        [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):
+
 2012-02-09  Hayato Ito  <[email protected]>
 
         Add Node::isShadowElement() member function.

Modified: trunk/Source/WebCore/platform/graphics/chromium/TiledLayerChromium.cpp (107351 => 107352)


--- trunk/Source/WebCore/platform/graphics/chromium/TiledLayerChromium.cpp	2012-02-10 04:33:33 UTC (rev 107351)
+++ trunk/Source/WebCore/platform/graphics/chromium/TiledLayerChromium.cpp	2012-02-10 05:02:54 UTC (rev 107352)
@@ -337,7 +337,7 @@
 
 void TiledLayerChromium::protectVisibleTileTextures()
 {
-    protectTileTextures(IntRect(IntPoint::zero(), contentBounds()));
+    protectTileTextures(visibleLayerRect());
 }
 
 void TiledLayerChromium::protectTileTextures(const IntRect& layerRect)
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to