Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(802)

Unified Diff: Source/core/editing/FrameSelection.cpp

Issue 211773002: Rename updateStyle to updateRenderTree (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix tracing test Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/editing/Editor.cpp ('k') | Source/core/editing/InputMethodController.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/editing/FrameSelection.cpp
diff --git a/Source/core/editing/FrameSelection.cpp b/Source/core/editing/FrameSelection.cpp
index d505320bc89b81913907799205e2ccb8db257927..f765bad62803e38aa94f4bd3333a15ad4ddc878f 100644
--- a/Source/core/editing/FrameSelection.cpp
+++ b/Source/core/editing/FrameSelection.cpp
@@ -1454,7 +1454,7 @@ void FrameSelection::focusedOrActiveStateChanged()
bool activeAndFocused = isFocusedAndActive();
RefPtr<Document> document = m_frame->document();
- document->updateStyleIfNeeded();
+ document->updateRenderTreeIfNeeded();
// Because RenderObject::selectionBackgroundColor() and
// RenderObject::selectionForegroundColor() check if the frame is active,
@@ -1637,7 +1637,7 @@ void FrameSelection::caretBlinkTimerFired(Timer<FrameSelection>*)
void FrameSelection::notifyRendererOfSelectionChange(EUserTriggered userTriggered)
{
- m_frame->document()->updateStyleIfNeeded();
+ m_frame->document()->updateRenderTreeIfNeeded();
if (HTMLTextFormControlElement* textControl = enclosingTextFormControl(start()))
textControl->selectionChanged(userTriggered == UserTriggered);
@@ -1708,7 +1708,7 @@ String FrameSelection::selectedTextForClipboard() const
FloatRect FrameSelection::bounds(bool clipToVisibleContent) const
{
- m_frame->document()->updateStyleIfNeeded();
+ m_frame->document()->updateRenderTreeIfNeeded();
FrameView* view = m_frame->view();
RenderView* renderView = m_frame->contentRenderer();
« no previous file with comments | « Source/core/editing/Editor.cpp ('k') | Source/core/editing/InputMethodController.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698