| Index: third_party/WebKit/Source/web/ContextMenuClientImpl.cpp
|
| diff --git a/third_party/WebKit/Source/web/ContextMenuClientImpl.cpp b/third_party/WebKit/Source/web/ContextMenuClientImpl.cpp
|
| index efa6a0b9ef74702c5069835da12a72774c51ad65..01ccd42ceb386af444aa2288318f3dd660d0561b 100644
|
| --- a/third_party/WebKit/Source/web/ContextMenuClientImpl.cpp
|
| +++ b/third_party/WebKit/Source/web/ContextMenuClientImpl.cpp
|
| @@ -347,6 +347,11 @@ bool ContextMenuClientImpl::showContextMenu(const ContextMenu* defaultMenu,
|
| }
|
| }
|
|
|
| + // TODO(editing-dev): The use of updateStyleAndLayoutIgnorePendingStylesheets
|
| + // needs to be audited. See http://crbug.com/590369 for more details.
|
| + // Plain text extraction requires clean layout.
|
| + selectedFrame->document()->updateStyleAndLayoutIgnorePendingStylesheets();
|
| +
|
| if (selectedFrame->editor().selectionHasStyle(CSSPropertyDirection, "ltr") !=
|
| FalseTriState)
|
| data.writingDirectionLeftToRight |=
|
|
|