diff options
Diffstat (limited to 'ui/aura/bench')
-rw-r--r-- | ui/aura/bench/bench_main.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ui/aura/bench/bench_main.cc b/ui/aura/bench/bench_main.cc index 92a837e..be3465b 100644 --- a/ui/aura/bench/bench_main.cc +++ b/ui/aura/bench/bench_main.cc @@ -14,7 +14,7 @@ #include "ui/aura/env.h" #include "ui/aura/event.h" #include "ui/aura/root_window.h" -#include "ui/aura/single_monitor_manager.h" +#include "ui/aura/single_display_manager.h" #include "ui/aura/window.h" #include "ui/base/hit_test.h" #include "ui/base/resource/resource_bundle.h" @@ -282,11 +282,11 @@ int main(int argc, char** argv) { MessageLoop message_loop(MessageLoop::TYPE_UI); ui::CompositorTestSupport::Initialize(); - aura::SingleMonitorManager* manager = new aura::SingleMonitorManager; + aura::SingleDisplayManager* manager = new aura::SingleDisplayManager; manager->set_use_fullscreen_host_window(true); - aura::Env::GetInstance()->SetMonitorManager(manager); + aura::Env::GetInstance()->SetDisplayManager(manager); scoped_ptr<aura::RootWindow> root_window( - aura::MonitorManager::CreateRootWindowForPrimaryMonitor()); + aura::DisplayManager::CreateRootWindowForPrimaryDisplay()); // add layers ColoredLayer background(SK_ColorRED); |