| 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 a31c30802fb3beefda477d8f5b1cf79c8da10559..905666f861b85ff4c83cd2184d5b0c2a71651761 100644
|
| --- a/third_party/WebKit/Source/web/ContextMenuClientImpl.cpp
|
| +++ b/third_party/WebKit/Source/web/ContextMenuClientImpl.cpp
|
| @@ -258,7 +258,7 @@ bool ContextMenuClientImpl::showContextMenu(const ContextMenu* defaultMenu,
|
| if (frameViewBase && frameViewBase->isPluginContainer()) {
|
| data.mediaType = WebContextMenuData::MediaTypePlugin;
|
| WebPluginContainerImpl* plugin =
|
| - toWebPluginContainerImpl(frameViewBase);
|
| + toWebPluginContainerImpl(toPluginView(frameViewBase));
|
| WebString text = plugin->plugin()->selectionAsText();
|
| if (!text.isEmpty()) {
|
| data.selectedText = text;
|
|
|