Title: [158607] branches/safari-537.73-branch/Source/WebCore
Revision
158607
Author
[email protected]
Date
2013-11-04 15:59:30 -0800 (Mon, 04 Nov 2013)

Log Message

Merged r154180.  <rdar://problem/15387809>

Modified Paths

Diff

Modified: branches/safari-537.73-branch/Source/WebCore/ChangeLog (158606 => 158607)


--- branches/safari-537.73-branch/Source/WebCore/ChangeLog	2013-11-04 23:52:32 UTC (rev 158606)
+++ branches/safari-537.73-branch/Source/WebCore/ChangeLog	2013-11-04 23:59:30 UTC (rev 158607)
@@ -1,3 +1,20 @@
+2013-11-04  Lucas Forschler  <[email protected]>
+
+        Merge r154180
+
+    2013-08-15  Brent Fulgham  <[email protected]>
+
+            [Windows] Prevent dangling CACFLayer when switching to/from Tiled backing.
+            https://bugs.webkit.org/show_bug.cgi?id=119818
+
+            Reviewed by Darin Adler.
+
+            Covered by existing: compositing/tiling/empty-to-tiled.html
+
+            * platform/graphics/ca/win/PlatformCALayerWin.cpp:
+            (PlatformCALayer::~PlatformCALayer): Remove deleted layer from its
+            parent layer 
+
 2013-11-04  Dean Jackson  <[email protected]>
 
         <rdar://problem/15292359>

Modified: branches/safari-537.73-branch/Source/WebCore/platform/graphics/ca/win/PlatformCALayerWin.cpp (158606 => 158607)


--- branches/safari-537.73-branch/Source/WebCore/platform/graphics/ca/win/PlatformCALayerWin.cpp	2013-11-04 23:52:32 UTC (rev 158606)
+++ branches/safari-537.73-branch/Source/WebCore/platform/graphics/ca/win/PlatformCALayerWin.cpp	2013-11-04 23:59:30 UTC (rev 158607)
@@ -138,6 +138,12 @@
     PlatformCALayerWinInternal* layerIntern = intern(this);
     CACFLayerSetUserData(m_layer.get(), 0);
 
+    // Clear the owner, which also clears it in the delegate to prevent attempts 
+    // to use the GraphicsLayerCA after it has been destroyed.
+    setOwner(0);
+
+    CACFLayerRemoveFromSuperlayer(m_layer.get());
+
     delete layerIntern;
 }
 
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to