| Index: Source/core/frame/FrameView.cpp
|
| diff --git a/Source/core/frame/FrameView.cpp b/Source/core/frame/FrameView.cpp
|
| index 415fb6b898ada519e04e7aec81b96333bbe3d37d..9b3512cf019d6b91f8b0c547622552b45730ad49 100644
|
| --- a/Source/core/frame/FrameView.cpp
|
| +++ b/Source/core/frame/FrameView.cpp
|
| @@ -775,7 +775,7 @@ void FrameView::performPreLayoutTasks()
|
| // Always ensure our style info is up-to-date. This can happen in situations where
|
| // the layout beats any sort of style recalc update that needs to occur.
|
| TemporaryChange<bool> changeDoingPreLayoutStyleUpdate(m_doingPreLayoutStyleUpdate, true);
|
| - document->updateStyleIfNeeded();
|
| + document->updateRenderTreeIfNeeded();
|
| lifecycle().advanceTo(DocumentLifecycle::StyleClean);
|
| }
|
|
|
| @@ -1587,7 +1587,7 @@ void FrameView::maintainScrollPositionAtAnchor(Node* anchorNode)
|
|
|
| // We need to update the layout before scrolling, otherwise we could
|
| // really mess things up if an anchor scroll comes at a bad moment.
|
| - m_frame->document()->updateStyleIfNeeded();
|
| + m_frame->document()->updateRenderTreeIfNeeded();
|
| // Only do a layout if changes have occurred that make it necessary.
|
| RenderView* renderView = this->renderView();
|
| if (renderView && renderView->needsLayout())
|
| @@ -2798,7 +2798,7 @@ void FrameView::updateLayoutAndStyleIfNeededRecursive()
|
| // region but then become included later by the second frame adding rects to the dirty region
|
| // when it lays out.
|
|
|
| - m_frame->document()->updateStyleIfNeeded();
|
| + m_frame->document()->updateRenderTreeIfNeeded();
|
|
|
| if (needsLayout())
|
| layout();
|
|
|