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