Index: third_party/WebKit/Source/core/editing/InputMethodController.cpp |
diff --git a/third_party/WebKit/Source/core/editing/InputMethodController.cpp b/third_party/WebKit/Source/core/editing/InputMethodController.cpp |
index bbd161bf33e0cc0389cf5a6d32762d8a1fefc3da..1308f06dccb9901a184e8aa38bf4af836fbf834c 100644 |
--- a/third_party/WebKit/Source/core/editing/InputMethodController.cpp |
+++ b/third_party/WebKit/Source/core/editing/InputMethodController.cpp |
@@ -428,9 +428,7 @@ void InputMethodController::setCompositionFromExistingText(const Vector<Composit |
if (!editable) |
return; |
- // TODO(dglazkov): The use of updateStyleAndLayoutIgnorePendingStylesheets needs to be audited. |
- // see http://crbug.com/590369 for more details. |
- editable->document().updateStyleAndLayoutIgnorePendingStylesheets(); |
+ DCHECK(!editable->document().needsLayoutTreeUpdate()); |
const EphemeralRange range = PlainTextRange(compositionStart, compositionEnd).createRange(*editable); |
if (range.isNull()) |