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 4481a0d4ea98aae39d46cd10d88291f8288cc3ba..ede2d3316759f9cf1a4890c1a077eee9846751f4 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()); |
} |