void ScrollingCoordinator::frameViewRootLayerDidChange(FrameView& frameView) { ASSERT(isMainThread()); ASSERT(m_page); if (!coordinatesScrollingForFrameView(frameView)) return; frameViewLayoutUpdated(frameView); updateSynchronousScrollingReasons(frameView); }
void ScrollingCoordinator::frameViewRootLayerDidChange(FrameView* frameView) { ASSERT(isMainThread()); ASSERT(m_page); if (!coordinatesScrollingForFrameView(frameView)) return; frameViewLayoutUpdated(frameView); recomputeWheelEventHandlerCountForFrameView(frameView); updateSynchronousScrollingReasons(); }
void ScrollingCoordinator::frameViewRootLayerDidChange(FrameView* frameView) { ASSERT(isMainThread()); ASSERT(m_page); if (frameView->frame() != m_page->mainFrame()) return; frameViewLayoutUpdated(frameView); recomputeWheelEventHandlerCount(); updateShouldUpdateScrollLayerPositionOnMainThread(); setScrollLayer(scrollLayerForFrameView(frameView)); }