Unreviewed, fix unused variable warnings introduced in r240912
authormcatanzaro@igalia.com <mcatanzaro@igalia.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 4 Feb 2019 15:48:44 +0000 (15:48 +0000)
committermcatanzaro@igalia.com <mcatanzaro@igalia.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 4 Feb 2019 15:48:44 +0000 (15:48 +0000)
https://bugs.webkit.org/show_bug.cgi?id=194198
<rdar://problem/47776051>

* page/FrameView.cpp:
(WebCore::FrameView::setNeedsCompositingConfigurationUpdate):
(WebCore::FrameView::setNeedsCompositingGeometryUpdate):

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

Source/WebCore/ChangeLog
Source/WebCore/page/FrameView.cpp

index fe9d8a2..a7bacb6 100644 (file)
@@ -1,3 +1,13 @@
+2019-02-04  Michael Catanzaro  <mcatanzaro@igalia.com>
+
+        Unreviewed, fix unused variable warnings introduced in r240912
+        https://bugs.webkit.org/show_bug.cgi?id=194198
+        <rdar://problem/47776051>
+
+        * page/FrameView.cpp:
+        (WebCore::FrameView::setNeedsCompositingConfigurationUpdate):
+        (WebCore::FrameView::setNeedsCompositingGeometryUpdate):
+
 2019-02-04  Frederic Wang  <fwang@igalia.com>
 
         [css-scroll-snap] scroll-snap-align not honored on child with non-visible overflow
index 62f01a2..97016cc 100644 (file)
@@ -2924,7 +2924,7 @@ void FrameView::setNeedsCompositingConfigurationUpdate()
     RenderView* renderView = this->renderView();
     if (renderView->usesCompositing()) {
         if (auto* rootLayer = renderView->layer())
-            renderView->layer()->setNeedsCompositingConfigurationUpdate();
+            rootLayer->setNeedsCompositingConfigurationUpdate();
     }
 }
 
@@ -2933,7 +2933,7 @@ void FrameView::setNeedsCompositingGeometryUpdate()
     RenderView* renderView = this->renderView();
     if (renderView->usesCompositing()) {
         if (auto* rootLayer = renderView->layer())
-            renderView->layer()->setNeedsCompositingGeometryUpdate();
+            rootLayer->setNeedsCompositingGeometryUpdate();
     }
 }