Index: ui/aura_shell/examples/aura_shell_main.cc |
diff --git a/ui/aura_shell/examples/aura_shell_main.cc b/ui/aura_shell/examples/aura_shell_main.cc |
index aa8fc7d74969ecd1e89dea9deb14ea47319472df..a2688e16530dc8803073edd273ffdd9f69367a53 100644 |
--- a/ui/aura_shell/examples/aura_shell_main.cc |
+++ b/ui/aura_shell/examples/aura_shell_main.cc |
@@ -15,6 +15,7 @@ |
#include "ui/aura_shell/shell_factory.h" |
#include "ui/base/resource/resource_bundle.h" |
#include "ui/base/ui_base_paths.h" |
+#include "ui/gfx/compositor/compositor_test_support.h" |
namespace { |
@@ -69,6 +70,7 @@ int main(int argc, char** argv) { |
// Create the message-loop here before creating the desktop. |
MessageLoop message_loop(MessageLoop::TYPE_UI); |
+ ui::CompositorTestSupport::Initialize(); |
aura_shell::Shell::GetInstance()->SetDelegate(new ShellDelegateImpl);; |
@@ -78,6 +80,8 @@ int main(int argc, char** argv) { |
delete aura::Desktop::GetInstance(); |
+ ui::CompositorTestSupport::Terminate(); |
+ |
return 0; |
} |