| 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));
|
|
|