| Index: chrome/browser/ui/views/extensions/extension_popup.cc
|
| diff --git a/chrome/browser/ui/views/extensions/extension_popup.cc b/chrome/browser/ui/views/extensions/extension_popup.cc
|
| index c5eca5580d56dd5ef717f8ac90ddb74d69ad4d97..259d714306136d846ae361444d66782edb0e4f89 100644
|
| --- a/chrome/browser/ui/views/extensions/extension_popup.cc
|
| +++ b/chrome/browser/ui/views/extensions/extension_popup.cc
|
| @@ -18,6 +18,7 @@
|
| #include "content/public/browser/notification_source.h"
|
| #include "content/public/browser/render_view_host.h"
|
| #include "content/public/browser/web_contents.h"
|
| +#include "content/public/browser/web_contents_view.h"
|
| #include "ui/gfx/insets.h"
|
| #include "ui/views/layout/fill_layout.h"
|
| #include "ui/views/widget/widget.h"
|
| @@ -210,7 +211,7 @@ void ExtensionPopup::ShowBubble() {
|
| host()->view()->RequestFocus();
|
|
|
| // Focus on the host contents when the bubble is first shown.
|
| - host()->host_contents()->Focus();
|
| + host()->host_contents()->GetView()->Focus();
|
|
|
| // Listen for widget focus changes after showing (used for non-aura win).
|
| views::WidgetFocusManager::GetInstance()->AddFocusChangeListener(this);
|
|
|