| 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 5f960c5f295284722b9edb50da0fc28cc504e60a..28334410658bad4cd621c297aec8b51790528354 100644
|
| --- a/third_party/WebKit/Source/core/editing/EditingUtilities.cpp
|
| +++ b/third_party/WebKit/Source/core/editing/EditingUtilities.cpp
|
| @@ -1725,7 +1725,8 @@ template <typename Strategy>
|
| static EphemeralRangeTemplate<Strategy> normalizeRangeAlgorithm(const EphemeralRangeTemplate<Strategy>& range)
|
| {
|
| DCHECK(range.isNotNull());
|
| - range.document().updateStyleAndLayoutIgnorePendingStylesheets();
|
| + DCHECK(!range.document().needsLayoutTreeUpdate());
|
| + DocumentLifecycle::DisallowTransitionScope disallowTransition(range.document().lifecycle());
|
|
|
| // TODO(yosin) We should not call |parentAnchoredEquivalent()|, it is
|
| // redundant.
|
|
|