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

Unified Diff: ash/test/ash_test_helper.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
« no previous file with comments | « no previous file | ash/test/test_suite.cc » ('j') | content/browser/compositor/image_transport_factory.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/test/ash_test_helper.cc
diff --git a/ash/test/ash_test_helper.cc b/ash/test/ash_test_helper.cc
index e544874aec0d84198c851d88303851c3edf73665..935b70f89eb2fee165f7d5a299d08408788fe5c5 100644
--- a/ash/test/ash_test_helper.cc
+++ b/ash/test/ash_test_helper.cc
@@ -58,8 +58,8 @@ void AshTestHelper::SetUp(bool start_session) {
ui::ScopedAnimationDurationScaleMode::ZERO_DURATION));
ui::InitializeInputMethodForTesting();
- bool allow_test_contexts = true;
- ui::InitializeContextFactoryForTests(allow_test_contexts);
+ bool enable_pixel_output = false;
+ ui::InitializeContextFactoryForTests(enable_pixel_output);
// Creates Shell and hook with Desktop.
test_shell_delegate_ = new TestShellDelegate;
« no previous file with comments | « no previous file | ash/test/test_suite.cc » ('j') | content/browser/compositor/image_transport_factory.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698