void ScrollingCoordinator::updateShouldUpdateScrollLayerPositionOnMainThread() { FrameView* frameView = m_page->mainFrame()->view(); // FIXME: Having fixed objects on the page should not trigger the slow path. setShouldUpdateScrollLayerPositionOnMainThread(frameView->hasSlowRepaintObjects() || frameView->hasFixedObjects()); }
void ScrollingCoordinator::updateShouldUpdateScrollLayerPositionOnMainThread() { setShouldUpdateScrollLayerPositionOnMainThread(mainThreadScrollingReasons()); }