Index: Source/core/page/scrolling/ScrollingCoordinator.h |
diff --git a/Source/core/page/scrolling/ScrollingCoordinator.h b/Source/core/page/scrolling/ScrollingCoordinator.h |
index 256ef402c63c6735ed707336bf3c645a59712700..7d5eea09d037a649227e81e70849a32dc720a45a 100644 |
--- a/Source/core/page/scrolling/ScrollingCoordinator.h |
+++ b/Source/core/page/scrolling/ScrollingCoordinator.h |
@@ -64,10 +64,7 @@ public: |
// Called when any frame has done its layout. |
void notifyLayoutUpdated(); |
- // Should be called after compositing has been updated. |
- void updateAfterCompositingChange(); |
- |
- bool needsToUpdateAfterCompositingChange() const { return m_scrollGestureRegionIsDirty || m_touchEventTargetRectsAreDirty || frameViewIsDirty(); } |
+ void updateAfterCompositingChangeIfNeeded(); |
void updateHaveWheelEventHandlers(); |
void updateHaveScrollEventHandlers(); |
@@ -132,6 +129,8 @@ protected: |
bool m_shouldScrollOnMainThreadDirty; |
private: |
+ bool shouldUpdateAfterCompositingChange() const { return m_scrollGestureRegionIsDirty || m_touchEventTargetRectsAreDirty || frameViewIsDirty(); } |
+ |
void setShouldUpdateScrollLayerPositionOnMainThread(MainThreadScrollingReasons); |
bool hasVisibleSlowRepaintViewportConstrainedObjects(FrameView*) const; |