| Index: gpu/gles2_conform_support/gles2_conform_test.cc
|
| diff --git a/gpu/gles2_conform_support/gles2_conform_test.cc b/gpu/gles2_conform_support/gles2_conform_test.cc
|
| index 1bfac909c0b30a8147d7c5945263e2a6c74f6b05..9b714462626fd46e2cc35ed2c829f6b39000fe33 100644
|
| --- a/gpu/gles2_conform_support/gles2_conform_test.cc
|
| +++ b/gpu/gles2_conform_support/gles2_conform_test.cc
|
| @@ -63,7 +63,10 @@ bool RunGLES2ConformTest(const char* path) {
|
| base::FilePath program(test_path.Append(FILE_PATH_LITERAL(
|
| "gles2_conform_test_windowless")));
|
|
|
| + CommandLine* currentCmdLine = CommandLine::ForCurrentProcess();
|
| CommandLine cmdline(program);
|
| + cmdline.AppendArguments(*currentCmdLine, false);
|
| + cmdline.AppendSwitch(std::string("--"));
|
| cmdline.AppendArg(std::string("-run=") + path);
|
|
|
| std::string output;
|
| @@ -82,6 +85,7 @@ bool RunGLES2ConformTest(const char* path) {
|
|
|
| int main(int argc, char** argv) {
|
| base::AtExitManager exit_manager;
|
| + CommandLine::Init(argc, argv);
|
| #if defined(OS_MACOSX)
|
| base::mac::ScopedNSAutoreleasePool pool;
|
| #endif
|
|
|