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. |