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 8654ed996bc1b1ebcef4f540fb7ee01c990c8f27..6159ead224234cde467314e763605ca17cb49f43 100644 |
--- a/third_party/WebKit/Source/web/ContextMenuClientImpl.cpp |
+++ b/third_party/WebKit/Source/web/ContextMenuClientImpl.cpp |
@@ -40,6 +40,7 @@ |
#include "core/editing/markers/DocumentMarkerController.h" |
#include "core/editing/spellcheck/SpellChecker.h" |
#include "core/exported/WebDataSourceImpl.h" |
+#include "core/exported/WebPluginContainerBase.h" |
#include "core/exported/WebViewBase.h" |
#include "core/frame/FrameView.h" |
#include "core/frame/Settings.h" |
@@ -78,7 +79,6 @@ |
#include "public/web/WebTextCheckClient.h" |
#include "public/web/WebViewClient.h" |
#include "web/ContextMenuAllowedScope.h" |
-#include "web/WebPluginContainerImpl.h" |
namespace blink { |
@@ -296,7 +296,7 @@ bool ContextMenuClientImpl::ShowContextMenu(const ContextMenu* default_menu, |
PluginView* plugin_view = ToLayoutPart(object)->Plugin(); |
if (plugin_view && plugin_view->IsPluginContainer()) { |
data.media_type = WebContextMenuData::kMediaTypePlugin; |
- WebPluginContainerImpl* plugin = ToWebPluginContainerImpl(plugin_view); |
+ WebPluginContainerBase* plugin = ToWebPluginContainerBase(plugin_view); |
WebString text = plugin->Plugin()->SelectionAsText(); |
if (!text.IsEmpty()) { |
data.selected_text = text; |