| Index: chrome/browser/ui/views/extensions/extension_dialog.cc
|
| diff --git a/chrome/browser/ui/views/extensions/extension_dialog.cc b/chrome/browser/ui/views/extensions/extension_dialog.cc
|
| index 5571cbb04e13abaf427832d136b8d078660f6af7..d8b74ae02e5637027142a2f7bee71ef526967e7d 100644
|
| --- a/chrome/browser/ui/views/extensions/extension_dialog.cc
|
| +++ b/chrome/browser/ui/views/extensions/extension_dialog.cc
|
| @@ -16,6 +16,7 @@
|
| #include "content/public/browser/render_view_host.h"
|
| #include "content/public/browser/render_widget_host_view.h"
|
| #include "content/public/browser/web_contents.h"
|
| +#include "content/public/browser/web_contents_view.h"
|
| #include "googleurl/src/gurl.h"
|
| #include "ui/gfx/screen.h"
|
| #include "ui/views/background.h"
|
| @@ -109,7 +110,7 @@ ExtensionDialog* ExtensionDialog::ShowInternal(
|
| host->view()->SetVisible(true);
|
|
|
| // Ensure the DOM JavaScript can respond immediately to keyboard shortcuts.
|
| - host->host_contents()->Focus();
|
| + host->host_contents()->GetView()->Focus();
|
| return dialog;
|
| }
|
|
|
|
|