summaryrefslogtreecommitdiffstats
path: root/gpu/command_buffer/common/unittest_main.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gpu/command_buffer/common/unittest_main.cc')
-rw-r--r--gpu/command_buffer/common/unittest_main.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/gpu/command_buffer/common/unittest_main.cc b/gpu/command_buffer/common/unittest_main.cc
index b9277db..c305c1c 100644
--- a/gpu/command_buffer/common/unittest_main.cc
+++ b/gpu/command_buffer/common/unittest_main.cc
@@ -3,6 +3,7 @@
// found in the LICENSE file.
#include "base/at_exit.h"
+#include "base/command_line.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "ui/gfx/gl/gl_implementation.h"
@@ -10,6 +11,7 @@
int main(int argc, char** argv) {
base::AtExitManager exit_manager;
gfx::InitializeGLBindings(gfx::kGLImplementationMockGL);
+ CommandLine::Init(argc, argv);
testing::InitGoogleMock(&argc, argv);
return RUN_ALL_TESTS();
}