[EFL] Fix crash introduced in r178029
authorcommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 9 Jan 2015 18:58:29 +0000 (18:58 +0000)
committercommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 9 Jan 2015 18:58:29 +0000 (18:58 +0000)
https://bugs.webkit.org/show_bug.cgi?id=140289

Patch by Byungseon Shin <sun.shin@lge.com> on 2015-01-09
Reviewed by Martin Robinson.

Clearing childClippingMaskLayer of CoordinatedGraphics should be called
before clearing childClippingLayer.

No new tests, covered by existing tests.

* rendering/RenderLayerBacking.cpp:
(WebCore::RenderLayerBacking::~RenderLayerBacking):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@178176 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebCore/ChangeLog
Source/WebCore/rendering/RenderLayerBacking.cpp

index 21c2315..23a0609 100644 (file)
@@ -1,3 +1,18 @@
+2015-01-09  Byungseon Shin  <sun.shin@lge.com>
+
+        [EFL] Fix crash introduced in r178029
+        https://bugs.webkit.org/show_bug.cgi?id=140289
+
+        Reviewed by Martin Robinson.
+
+        Clearing childClippingMaskLayer of CoordinatedGraphics should be called
+        before clearing childClippingLayer.
+
+        No new tests, covered by existing tests.
+
+        * rendering/RenderLayerBacking.cpp:
+        (WebCore::RenderLayerBacking::~RenderLayerBacking):
+
 2015-01-08  Enrica Casucci  <enrica@apple.com>
 
         [iOS] Cannot paste an image URL in a plain text field in a page.
index 1710903..11ce045 100644 (file)
@@ -142,12 +142,12 @@ RenderLayerBacking::RenderLayerBacking(RenderLayer& layer)
 RenderLayerBacking::~RenderLayerBacking()
 {
     updateAncestorClippingLayer(false);
+    updateChildClippingStrategy(false);
     updateDescendantClippingLayer(false);
     updateOverflowControlsLayers(false, false, false);
     updateForegroundLayer(false);
     updateBackgroundLayer(false);
     updateMaskLayer(false);
-    updateChildClippingStrategy(false);
     updateScrollingLayers(false);
     detachFromScrollingCoordinator();
     destroyGraphicsLayers();