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 cf15d6dd1d0e6dbf307d6ffaf2fd2589d005ffde..ef78805e76b84eba61429d7217514e4ed5926838 100644 |
--- a/third_party/WebKit/Source/web/ChromeClientImpl.cpp |
+++ b/third_party/WebKit/Source/web/ChromeClientImpl.cpp |
@@ -640,10 +640,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()); |
} |