| Index: third_party/WebKit/Source/core/editing/EditingStyle.cpp
|
| diff --git a/third_party/WebKit/Source/core/editing/EditingStyle.cpp b/third_party/WebKit/Source/core/editing/EditingStyle.cpp
|
| index 70589eceaab327bf6aa9a0be860ad286cc23bf83..5fa1624993008d24cec9c4637ae3475224b39154 100644
|
| --- a/third_party/WebKit/Source/core/editing/EditingStyle.cpp
|
| +++ b/third_party/WebKit/Source/core/editing/EditingStyle.cpp
|
| @@ -1528,10 +1528,7 @@ EditingStyle* EditingStyle::styleAtSelectionStart(
|
|
|
| Document& document = *selection.start().document();
|
|
|
| - // TODO(xiaochengh): The use of updateStyleAndLayoutIgnorePendingStylesheets
|
| - // needs to be audited. see http://crbug.com/590369 for more details.
|
| - document.updateStyleAndLayoutIgnorePendingStylesheets();
|
| -
|
| + DCHECK(!document.needsLayoutTreeUpdate());
|
| DocumentLifecycle::DisallowTransitionScope disallowTransition(
|
| document.lifecycle());
|
|
|
|
|