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() { FrameView* frameView = m_page->mainFrame()->view(); // FIXME: Having fixed objects on the page should not trigger the slow path. bool shouldUpdateScrollLayerPositionOnMainThread = frameView->hasSlowRepaintObjects() || frameView->hasFixedObjects(); m_scrollingTreeState->setShouldUpdateScrollLayerPositionOnMainThread(shouldUpdateScrollLayerPositionOnMainThread); scheduleTreeStateCommit(); }