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

Unified Diff: trunk/src/chrome/test/gpu/webgl_infobar_browsertest.cc

Issue 22648006: Revert 216780 "Clean up compositor initialization/destruction." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 7 years, 4 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/chrome/test/gpu/gpu_feature_browsertest.cc ('k') | trunk/src/chrome/test/ppapi/ppapi_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: trunk/src/chrome/test/gpu/webgl_infobar_browsertest.cc
===================================================================
--- trunk/src/chrome/test/gpu/webgl_infobar_browsertest.cc (revision 216906)
+++ trunk/src/chrome/test/gpu/webgl_infobar_browsertest.cc (working copy)
@@ -51,6 +51,13 @@
class WebGLInfobarTest : public InProcessBrowserTest {
protected:
+ virtual void SetUpCommandLine(CommandLine* command_line) OVERRIDE {
+ // GPU tests require gpu acceleration.
+#if !defined(OS_MACOSX)
+ command_line->AppendSwitchASCII(
+ switches::kUseGL, gfx::kGLImplementationOSMesaName);
+#endif
+ }
virtual void SetUpInProcessBrowserTestFixture() OVERRIDE {
base::FilePath test_dir;
ASSERT_TRUE(PathService::Get(content::DIR_TEST_DATA, &test_dir));
« no previous file with comments | « trunk/src/chrome/test/gpu/gpu_feature_browsertest.cc ('k') | trunk/src/chrome/test/ppapi/ppapi_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698