| Index: content/shell/shell_devtools_frontend.cc
|
| diff --git a/content/shell/shell_devtools_frontend.cc b/content/shell/shell_devtools_frontend.cc
|
| index d6aaeebc3b4563aa2fbe9ff663dd0e3208460591..9149680ec7059efe0b6ea9e7dcc8634c69538360 100644
|
| --- a/content/shell/shell_devtools_frontend.cc
|
| +++ b/content/shell/shell_devtools_frontend.cc
|
| @@ -9,6 +9,7 @@
|
| #include "content/public/browser/devtools_http_handler.h"
|
| #include "content/public/browser/devtools_manager.h"
|
| #include "content/public/browser/web_contents.h"
|
| +#include "content/public/browser/web_contents_view.h"
|
| #include "content/public/common/content_client.h"
|
| #include "content/shell/shell.h"
|
| #include "content/shell/shell_browser_context.h"
|
| @@ -65,7 +66,7 @@ ShellDevToolsFrontend* ShellDevToolsFrontend::Show(
|
| }
|
|
|
| void ShellDevToolsFrontend::Focus() {
|
| - web_contents()->Focus();
|
| + web_contents()->GetView()->Focus();
|
| }
|
|
|
| void ShellDevToolsFrontend::Close() {
|
|
|