Index: content/renderer/pepper/pepper_plugin_instance_impl.cc |
diff --git a/content/renderer/pepper/pepper_plugin_instance_impl.cc b/content/renderer/pepper/pepper_plugin_instance_impl.cc |
index 38677cb5de02a54496b4352f225713d410083905..130fe689b244b84744da5ff357f7c69e7ac5014d 100644 |
--- a/content/renderer/pepper/pepper_plugin_instance_impl.cc |
+++ b/content/renderer/pepper/pepper_plugin_instance_impl.cc |
@@ -543,7 +543,7 @@ PepperPluginInstanceImpl::PepperPluginInstanceImpl( |
view_data_.is_page_visible = !render_frame_->GetRenderWidget()->is_hidden(); |
// Set the initial focus. |
- SetContentAreaFocus(render_frame_->GetRenderWidget()->has_focus()); |
+ SetContentAreaFocus(render_frame_->render_view()->has_focus()); |
if (!module_->IsProxied()) { |
PepperBrowserConnection* browser_connection = |