Chromium Code Reviews| 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()); |
|
Xiaocheng
2016/08/30 15:18:24
Pass-by: I think we need to have a named scope her
|
| + |
| // 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); |