Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(282)

Unified Diff: trunk/src/ui/aura/bench/bench_main.cc

Issue 15838015: Revert 202787 "Remove unnecessary ui::CompositorTestSupport" (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 7 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « trunk/src/ui/app_list/app_list.gyp ('k') | trunk/src/ui/aura/demo/demo_main.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: trunk/src/ui/aura/bench/bench_main.cc
===================================================================
--- trunk/src/ui/aura/bench/bench_main.cc (revision 202789)
+++ trunk/src/ui/aura/bench/bench_main.cc (working copy)
@@ -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 @@
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 @@
focus_client.reset();
root_window.reset();
+ ui::CompositorTestSupport::Terminate();
+
return 0;
}
« no previous file with comments | « trunk/src/ui/app_list/app_list.gyp ('k') | trunk/src/ui/aura/demo/demo_main.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698