Index: ash/shell.cc |
diff --git a/ash/shell.cc b/ash/shell.cc |
index 8ed71fe2d43a369a2116155c88ddbf974d5040e3..d462df25f2a955f58fbd8077c87faa38bcbb9869 100644 |
--- a/ash/shell.cc |
+++ b/ash/shell.cc |
@@ -860,7 +860,7 @@ void Shell::Init() { |
AddShellObserver(overlay_filter_.get()); |
input_method_filter_.reset(new views::corewm::InputMethodEventFilter( |
- root_window->GetDispatcher()->host()->GetAcceleratedWidget())); |
+ root_window->GetHost()->GetAcceleratedWidget())); |
AddPreTargetHandler(input_method_filter_.get()); |
accelerator_filter_.reset(new internal::AcceleratorFilter); |
@@ -960,7 +960,7 @@ void Shell::Init() { |
// initialize controller/delegates above when initializing the |
// primary root window controller. |
internal::RootWindowController::CreateForPrimaryDisplay( |
- root_window->GetDispatcher()->host()); |
+ root_window->GetHost()); |
display_controller_->InitSecondaryDisplays(); |