| Index: android_webview/lib/main/webview_tests.cc
|
| diff --git a/android_webview/lib/main/webview_tests.cc b/android_webview/lib/main/webview_tests.cc
|
| index 08109fefa3c8efa47f19ec735c19a8214805b26a..0fe4b6b262dc090a9a9bb3a567d1026b3f6b3e63 100644
|
| --- a/android_webview/lib/main/webview_tests.cc
|
| +++ b/android_webview/lib/main/webview_tests.cc
|
| @@ -4,9 +4,14 @@
|
|
|
| #include "android_webview/native/android_webview_jni_registrar.h"
|
| #include "base/android/jni_android.h"
|
| +#include "base/command_line.h"
|
| #include "base/test/test_suite.h"
|
| +#include "content/public/common/content_switches.h"
|
| +#include "ui/gl/gl_surface.h"
|
|
|
| int main(int argc, char** argv) {
|
| android_webview::RegisterJni(base::android::AttachCurrentThread());
|
| + CommandLine::ForCurrentProcess()->AppendSwitch(switches::kSingleProcess);
|
| + gfx::GLSurface::InitializeOneOffForTests();
|
| return base::TestSuite(argc, argv).Run();
|
| }
|
|
|