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

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

Issue 45963003: Move test-only ContextFactory implementations out of production targets (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: revert bad ui/base changes Created 7 years, 2 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
Index: ui/aura/bench/bench_main.cc
diff --git a/ui/aura/bench/bench_main.cc b/ui/aura/bench/bench_main.cc
index 67ba3a62b099db89ab234fd7764c50c3f25798a7..a8dd5379983d2dbec54a7edde2b6d2778c36175f 100644
--- a/ui/aura/bench/bench_main.cc
+++ b/ui/aura/bench/bench_main.cc
@@ -26,6 +26,7 @@
#include "ui/compositor/compositor_observer.h"
#include "ui/compositor/debug_utils.h"
#include "ui/compositor/layer.h"
+#include "ui/compositor/test/context_factories_for_test.h"
#include "ui/gfx/canvas.h"
#include "ui/gfx/rect.h"
#include "ui/gfx/skia_util.h"
@@ -301,7 +302,7 @@ int main(int argc, char** argv) {
// The ContextFactory must exist before any Compositors are created.
bool allow_test_contexts = false;
- ui::Compositor::InitializeContextFactoryForTests(allow_test_contexts);
+ ui::InitializeContextFactoryForTests(allow_test_contexts);
ui::RegisterPathProvider();
base::i18n::InitializeICU();
« no previous file with comments | « ui/aura/aura.gyp ('k') | ui/aura/demo/demo_main.cc » ('j') | ui/compositor/reflector.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698