Title: [93526] trunk/Source/WebCore
Revision
93526
Author
[email protected]
Date
2011-08-22 11:49:42 -0700 (Mon, 22 Aug 2011)

Log Message

[chromium] Fix nullptr deref when switching composited tabs
https://bugs.webkit.org/show_bug.cgi?id=66691

Reviewed by James Robinson.

* platform/graphics/chromium/TiledLayerChromium.cpp:
(WebCore::TiledLayerChromium::protectTileTextures):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (93525 => 93526)


--- trunk/Source/WebCore/ChangeLog	2011-08-22 18:30:27 UTC (rev 93525)
+++ trunk/Source/WebCore/ChangeLog	2011-08-22 18:49:42 UTC (rev 93526)
@@ -1,3 +1,13 @@
+2011-08-22  Adrienne Walker  <[email protected]>
+
+        [chromium] Fix nullptr deref when switching composited tabs
+        https://bugs.webkit.org/show_bug.cgi?id=66691
+
+        Reviewed by James Robinson.
+
+        * platform/graphics/chromium/TiledLayerChromium.cpp:
+        (WebCore::TiledLayerChromium::protectTileTextures):
+
 2011-08-22  James Robinson  <[email protected]>
 
         [chromium] Content and render surface textures not freed when compositor context destroyed

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


--- trunk/Source/WebCore/platform/graphics/chromium/TiledLayerChromium.cpp	2011-08-22 18:30:27 UTC (rev 93525)
+++ trunk/Source/WebCore/platform/graphics/chromium/TiledLayerChromium.cpp	2011-08-22 18:49:42 UTC (rev 93526)
@@ -357,7 +357,7 @@
 
 void TiledLayerChromium::protectTileTextures(const IntRect& contentRect)
 {
-    if (contentRect.isEmpty())
+    if (!m_tiler || contentRect.isEmpty())
         return;
 
     int left, top, right, bottom;
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to