| 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 6dcc13d75e6c96c64e79e051a0a31afcbe307963..f045dbe778ea40fb365ca20b414fdbf577ceb03d 100644
|
| --- a/third_party/WebKit/Source/web/WebViewImpl.cpp
|
| +++ b/third_party/WebKit/Source/web/WebViewImpl.cpp
|
| @@ -2819,6 +2819,11 @@ bool WebViewImpl::selectionTextDirection(WebTextDirection& start,
|
| // plugins/mouse-capture-inside-shadow.html reaches here.
|
| return false;
|
| }
|
| +
|
| + // TODO(xiaochengh): The use of updateStyleAndLayoutIgnorePendingStylesheets
|
| + // needs to be audited. See http://crbug.com/590369 for more details.
|
| + frame->document()->updateStyleAndLayoutIgnorePendingStylesheets();
|
| +
|
| if (selection.selection().toNormalizedEphemeralRange().isNull())
|
| return false;
|
| start =
|
|
|