Share more code for updating the state of frame scrolling nodes
authorfred.wang@free.fr <fred.wang@free.fr@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 5 Mar 2019 14:54:13 +0000 (14:54 +0000)
committerfred.wang@free.fr <fred.wang@free.fr@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 5 Mar 2019 14:54:13 +0000 (14:54 +0000)
https://bugs.webkit.org/show_bug.cgi?id=195254

Unreviewed compilation warning fix.

Patch by Frederic Wang <fwang@igalia.com> on 2019-03-05

* page/scrolling/AsyncScrollingCoordinator.cpp:
(WebCore::AsyncScrollingCoordinator::frameViewLayoutUpdated): Add UNUSED_PARAM on non-Cocoa
platforms.

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

Source/WebCore/ChangeLog
Source/WebCore/page/scrolling/AsyncScrollingCoordinator.cpp

index 3655a6b..f54db00 100644 (file)
@@ -1,3 +1,14 @@
+2019-03-05  Frederic Wang  <fwang@igalia.com>
+
+        Share more code for updating the state of frame scrolling nodes
+        https://bugs.webkit.org/show_bug.cgi?id=195254
+
+        Unreviewed compilation warning fix.
+
+        * page/scrolling/AsyncScrollingCoordinator.cpp:
+        (WebCore::AsyncScrollingCoordinator::frameViewLayoutUpdated): Add UNUSED_PARAM on non-Cocoa
+        platforms.
+
 2019-03-05  Cathie Chen  <cathiechen@igalia.com>
 
         The include file in ScrollingStateFrameHostingNode.h is wrong.
index e8f1e5f..a253db7 100644 (file)
@@ -143,6 +143,8 @@ void AsyncScrollingCoordinator::frameViewLayoutUpdated(FrameView& frameView)
         auto& frameScrollingNode = downcast<ScrollingStateFrameScrollingNode>(*node);
         frameScrollingNode.setExpectsWheelEventTestTrigger(page->expectsWheelEventTriggers());
     }
+#else
+    UNUSED_PARAM(frameView);
 #endif
 }