Chromium Code Reviews| Index: sky/tools/debugger/debugger.cc |
| diff --git a/sky/tools/debugger/debugger.cc b/sky/tools/debugger/debugger.cc |
| index 4fdbbe88474418948f5b98dd381a9b708e2c6095..124cc69ebecd6f9e086154aa0a6ec3f369c061a4 100644 |
| --- a/sky/tools/debugger/debugger.cc |
| +++ b/sky/tools/debugger/debugger.cc |
| @@ -4,6 +4,8 @@ |
| #include "sky/tools/debugger/debugger.h" |
| +#include "mojo/services/window_manager/basic_focus_rules.h" |
| + |
| namespace sky { |
| namespace debugger { |
| @@ -59,7 +61,7 @@ void SkyDebugger::OnEmbed( |
| root_->AddChild(content_); |
| window_manager_app_->InitFocus( |
| - new FocusRules(window_manager_app_.get(), content_)); |
| + new mojo::BasicFocusRules(window_manager_app_.get(), content_)); |
|
eseidel
2014/11/06 21:33:14
It's kinda silly we have to call InitFocus at all,
|
| if (!pending_url_.empty()) |
| NavigateToURL(pending_url_); |