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

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

Issue 145293007: ui: No more TestCompositor. Use NullDraw contexts in unit tests. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: testsnulldraw: Created 6 years, 11 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 58dbde940dd83d47f84d39f0c144aede38185fbc..3e880dad483357f1d48ca912f368f8b232fbf3b1 100644
--- a/ui/aura/bench/bench_main.cc
+++ b/ui/aura/bench/bench_main.cc
@@ -296,8 +296,8 @@ int main(int argc, char** argv) {
gfx::GLSurface::InitializeOneOff();
// The ContextFactory must exist before any Compositors are created.
- bool allow_test_contexts = false;
- ui::InitializeContextFactoryForTests(allow_test_contexts);
+ bool enable_pixel_output = true;
+ ui::InitializeContextFactoryForTests(enable_pixel_output);
base::i18n::InitializeICU();

Powered by Google App Engine
This is Rietveld 408576698