| 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 52093ffa4cdba849df607b2b537de5ecf6d7afc3..caa73b9fbd3652e9b912ea91c3c6d4415f33d904 100644
|
| --- a/third_party/WebKit/Source/web/ContextMenuClientImpl.cpp
|
| +++ b/third_party/WebKit/Source/web/ContextMenuClientImpl.cpp
|
| @@ -180,8 +180,8 @@ bool ContextMenuClientImpl::showContextMenu(const ContextMenu* defaultMenu,
|
| data.editFlags |= WebContextMenuData::CanPaste;
|
| if (toLocalFrame(m_webView->focusedCoreFrame())->editor().canDelete())
|
| data.editFlags |= WebContextMenuData::CanDelete;
|
| - // We can always select all...
|
| - data.editFlags |= WebContextMenuData::CanSelectAll;
|
| + if (toLocalFrame(m_webView->focusedCoreFrame())->editor().canSelectAll())
|
| + data.editFlags |= WebContextMenuData::CanSelectAll;
|
| data.editFlags |= WebContextMenuData::CanTranslate;
|
|
|
| // Links, Images, Media tags, and Image/Media-Links take preference over
|
|
|