From b7a615f2f79c23519c5a58f57bb3466625e77f27 Mon Sep 17 00:00:00 2001 From: "timothy_horton@apple.com" Date: Mon, 1 Sep 2014 19:15:23 +0000 Subject: [PATCH] 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! git-svn-id: https://svn.webkit.org/repository/webkit/trunk@173160 268f45cc-cd09-0410-ab3c-d52691b4dbfc --- Source/WebCore/ChangeLog | 12 ++++++++++++ .../WebCore/platform/graphics/ca/GraphicsLayerCA.cpp | 4 ---- 2 files changed, 12 insertions(+), 4 deletions(-) diff --git a/Source/WebCore/ChangeLog b/Source/WebCore/ChangeLog index dab193e8c382..acef0866bcf2 100644 --- a/Source/WebCore/ChangeLog +++ b/Source/WebCore/ChangeLog @@ -1,3 +1,15 @@ +2014-09-01 Tim Horton + + 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 [CSS Grid Layout] Resolved value of grid-template-* must include every track listed diff --git a/Source/WebCore/platform/graphics/ca/GraphicsLayerCA.cpp b/Source/WebCore/platform/graphics/ca/GraphicsLayerCA.cpp index d05dcc560a56..e80a29cf3f7f 100644 --- a/Source/WebCore/platform/graphics/ca/GraphicsLayerCA.cpp +++ b/Source/WebCore/platform/graphics/ca/GraphicsLayerCA.cpp @@ -1712,10 +1712,6 @@ void GraphicsLayerCA::ensureStructuralLayer(StructuralLayerPurpose purpose) return; } -#if PLATFORM(IOS) - RefPtr oldPrimaryLayer = m_structuralLayer ? m_structuralLayer.get() : m_layer.get(); -#endif - bool structuralLayerChanged = false; if (purpose == StructuralLayerForPreserves3D) { -- 2.36.0