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

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 89ec17582f20ae4d0f2b7eb2df14aa3412a12d71..9437e08ef8992f86989b82630825505e2c50070a 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.

Powered by Google App Engine
This is Rietveld 408576698