Remove an unnecessary local in GraphicsLayerCA::ensureStructuralLayer
authortimothy_horton@apple.com <timothy_horton@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 1 Sep 2014 19:15:23 +0000 (19:15 +0000)
committertimothy_horton@apple.com <timothy_horton@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 1 Sep 2014 19:15:23 +0000 (19:15 +0000)
https://bugs.webkit.org/show_bug.cgi?id=136426

Reviewed by Dan Bernstein.

* platform/graphics/ca/GraphicsLayerCA.cpp:
(WebCore::GraphicsLayerCA::ensureStructuralLayer):
This was here so that we could call PlatformCALayerClient::platformLayerChanged,
but that no longer exists!

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

Source/WebCore/ChangeLog
Source/WebCore/platform/graphics/ca/GraphicsLayerCA.cpp

index dab193e8c38253cc3b35a88c7601e72599d763c2..acef0866bcf27fafbdf607885b88654f7339723f 100644 (file)
@@ -1,3 +1,15 @@
+2014-09-01  Tim Horton  <timothy_horton@apple.com>
+
+        Remove an unnecessary local in GraphicsLayerCA::ensureStructuralLayer
+        https://bugs.webkit.org/show_bug.cgi?id=136426
+
+        Reviewed by Dan Bernstein.
+
+        * platform/graphics/ca/GraphicsLayerCA.cpp:
+        (WebCore::GraphicsLayerCA::ensureStructuralLayer):
+        This was here so that we could call PlatformCALayerClient::platformLayerChanged,
+        but that no longer exists!
+
 2014-08-29  Sergio Villar Senin  <svillar@igalia.com>
 
         [CSS Grid Layout] Resolved value of grid-template-* must include every track listed
 2014-08-29  Sergio Villar Senin  <svillar@igalia.com>
 
         [CSS Grid Layout] Resolved value of grid-template-* must include every track listed
index d05dcc560a5624cdd18e94acac239063f1c03f88..e80a29cf3f7fad8273ebd808c16fdc6cd8e4ed20 100644 (file)
@@ -1712,10 +1712,6 @@ void GraphicsLayerCA::ensureStructuralLayer(StructuralLayerPurpose purpose)
         return;
     }
 
         return;
     }
 
-#if PLATFORM(IOS)
-    RefPtr<PlatformCALayer> oldPrimaryLayer = m_structuralLayer ? m_structuralLayer.get() : m_layer.get();
-#endif
-
     bool structuralLayerChanged = false;
     
     if (purpose == StructuralLayerForPreserves3D) {
     bool structuralLayerChanged = false;
     
     if (purpose == StructuralLayerForPreserves3D) {