diff options
Diffstat (limited to 'ui/aura/bench')
-rw-r--r-- | ui/aura/bench/bench_main.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ui/aura/bench/bench_main.cc b/ui/aura/bench/bench_main.cc index 4f0afe1..e397929 100644 --- a/ui/aura/bench/bench_main.cc +++ b/ui/aura/bench/bench_main.cc @@ -25,6 +25,7 @@ #include "ui/compositor/compositor_observer.h" #include "ui/compositor/debug_utils.h" #include "ui/compositor/layer.h" +#include "ui/compositor/test/compositor_test_support.h" #include "ui/gfx/canvas.h" #include "ui/gfx/rect.h" #include "ui/gfx/skia_util.h" @@ -301,6 +302,7 @@ int main(int argc, char** argv) { ResourceBundle::InitSharedInstanceWithLocale("en-US", NULL); base::MessageLoop message_loop(base::MessageLoop::TYPE_UI); + ui::CompositorTestSupport::Initialize(); aura::Env::GetInstance(); scoped_ptr<aura::TestScreen> test_screen( aura::TestScreen::CreateFullscreen()); @@ -359,5 +361,7 @@ int main(int argc, char** argv) { focus_client.reset(); root_window.reset(); + ui::CompositorTestSupport::Terminate(); + return 0; } |