| Index: trunk/src/ash/test/test_suite.cc
|
| ===================================================================
|
| --- trunk/src/ash/test/test_suite.cc (revision 202789)
|
| +++ trunk/src/ash/test/test_suite.cc (working copy)
|
| @@ -13,6 +13,7 @@
|
| #include "ui/base/resource/resource_bundle.h"
|
| #include "ui/base/ui_base_paths.h"
|
| #include "ui/compositor/compositor_setup.h"
|
| +#include "ui/compositor/test/compositor_test_support.h"
|
| #include "ui/gfx/gfx_paths.h"
|
|
|
| #if defined(OS_MACOSX)
|
| @@ -55,10 +56,12 @@
|
| // Force unittests to run using en-US so if we test against string
|
| // output, it'll pass regardless of the system language.
|
| ui::ResourceBundle::InitSharedInstanceWithLocale("en-US", NULL);
|
| + ui::CompositorTestSupport::Initialize();
|
| ui::SetupTestCompositor();
|
| }
|
|
|
| void AuraShellTestSuite::Shutdown() {
|
| + ui::CompositorTestSupport::Terminate();
|
| ui::ResourceBundle::CleanupSharedInstance();
|
| #if defined(OS_WIN)
|
| com_initializer_.reset();
|
|
|