Index: third_party/WebKit/Source/web/ChromeClientImpl.cpp |
diff --git a/third_party/WebKit/Source/web/ChromeClientImpl.cpp b/third_party/WebKit/Source/web/ChromeClientImpl.cpp |
index 7d5ce48afac864772797a51f9d4a02f06f194e84..2ccb24d020406e6989f3be88917a11dad74e0b07 100644 |
--- a/third_party/WebKit/Source/web/ChromeClientImpl.cpp |
+++ b/third_party/WebKit/Source/web/ChromeClientImpl.cpp |
@@ -646,10 +646,9 @@ void ChromeClientImpl::showMouseOverURL(const HitTestResult& result) { |
isHTMLEmbedElement(*result.innerNode()))) { |
LayoutObject* object = result.innerNode()->layoutObject(); |
if (object && object->isLayoutPart()) { |
- FrameViewBase* frameViewBase = toLayoutPart(object)->frameViewBase(); |
- if (frameViewBase && frameViewBase->isPluginContainer()) { |
- WebPluginContainerImpl* plugin = |
- toWebPluginContainerImpl(frameViewBase); |
+ PluginView* pluginView = toLayoutPart(object)->plugin(); |
+ if (pluginView && pluginView->isPluginContainer()) { |
+ WebPluginContainerImpl* plugin = toWebPluginContainerImpl(pluginView); |
url = plugin->plugin()->linkAtPosition( |
result.roundedPointInInnerNodeFrame()); |
} |