| Index: content/browser/browser_plugin/browser_plugin_popup_menu_helper_mac.mm
|
| diff --git a/content/browser/browser_plugin/browser_plugin_popup_menu_helper_mac.mm b/content/browser/browser_plugin/browser_plugin_popup_menu_helper_mac.mm
|
| index 413c96fd16b64fc044efdf045a6ca11cbff3fec4..6817078c6d5f80bbe1b0361ac6453a0c4f8b8a31 100644
|
| --- a/content/browser/browser_plugin/browser_plugin_popup_menu_helper_mac.mm
|
| +++ b/content/browser/browser_plugin/browser_plugin_popup_menu_helper_mac.mm
|
| @@ -7,6 +7,7 @@
|
| #include "content/browser/frame_host/render_frame_host_impl.h"
|
| #include "content/browser/renderer_host/render_view_host_impl.h"
|
| #include "content/browser/renderer_host/render_widget_host_view_mac.h"
|
| +#include "content/public/browser/render_widget_host.h"
|
|
|
| namespace content {
|
|
|
| @@ -18,7 +19,8 @@ BrowserPluginPopupMenuHelper::BrowserPluginPopupMenuHelper(
|
|
|
| RenderWidgetHostViewMac*
|
| BrowserPluginPopupMenuHelper::GetRenderWidgetHostView() const {
|
| - return static_cast<RenderWidgetHostViewMac*>(embedder_rvh_->GetView());
|
| + return static_cast<RenderWidgetHostViewMac*>(
|
| + embedder_rvh_->GetWidget()->GetView());
|
| }
|
|
|
| } // namespace content
|
|
|