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

Unified Diff: third_party/WebKit/Source/core/editing/EditingUtilities.cpp

Issue 1896793002: Rename (updateLayout/updateStyle).*.() to updateStyleAndLayout.*.() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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
Index: third_party/WebKit/Source/core/editing/EditingUtilities.cpp
diff --git a/third_party/WebKit/Source/core/editing/EditingUtilities.cpp b/third_party/WebKit/Source/core/editing/EditingUtilities.cpp
index baf695267c05dec7851f5a444ac986cb971ba32f..ac76bf9dfd82d62e56aca37142213bb7fd764375 100644
--- a/third_party/WebKit/Source/core/editing/EditingUtilities.cpp
+++ b/third_party/WebKit/Source/core/editing/EditingUtilities.cpp
@@ -268,7 +268,7 @@ bool isEditablePosition(const Position& p, EditableType editableType, EUpdateSty
if (!node)
return false;
if (updateStyle == UpdateStyle)
- node->document().updateLayoutIgnorePendingStylesheets();
+ node->document().updateStyleAndLayoutIgnorePendingStylesheets();
else
DCHECK_EQ(updateStyle, DoNotUpdateStyle);
@@ -1603,7 +1603,7 @@ template <typename Strategy>
static EphemeralRangeTemplate<Strategy> normalizeRangeAlgorithm(const EphemeralRangeTemplate<Strategy>& range)
{
DCHECK(range.isNotNull());
- range.document().updateLayoutIgnorePendingStylesheets();
+ range.document().updateStyleAndLayoutIgnorePendingStylesheets();
// TODO(yosin) We should not call |parentAnchoredEquivalent()|, it is
// redundant.
« no previous file with comments | « third_party/WebKit/Source/core/editing/DragCaretController.cpp ('k') | third_party/WebKit/Source/core/editing/Editor.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698