| Index: third_party/WebKit/Source/web/WebViewImpl.cpp
|
| diff --git a/third_party/WebKit/Source/web/WebViewImpl.cpp b/third_party/WebKit/Source/web/WebViewImpl.cpp
|
| index 6d49474a82eded6aa0de7bbb54d9341e27a2f48f..1f0ec3d661fd917cad7c9d9fb1f032109dcdabaa 100644
|
| --- a/third_party/WebKit/Source/web/WebViewImpl.cpp
|
| +++ b/third_party/WebKit/Source/web/WebViewImpl.cpp
|
| @@ -2438,6 +2438,12 @@ WebTextInputInfo WebViewImpl::textInputInfo()
|
| if (!focused->editor().canEdit())
|
| return info;
|
|
|
| + // TODO(dglazkov): The use of updateStyleAndLayoutIgnorePendingStylesheets needs to be audited.
|
| + // see http://crbug.com/590369 for more details.
|
| + focused->document()->updateStyleAndLayoutIgnorePendingStylesheets();
|
| +
|
| + DocumentLifecycle::DisallowTransitionScope(focused->document()->lifecycle());
|
| +
|
| // Emits an object replacement character for each replaced element so that
|
| // it is exposed to IME and thus could be deleted by IME on android.
|
| info.value = plainText(EphemeralRange::rangeOfContents(*element), TextIteratorEmitsObjectReplacementCharacter);
|
|
|