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

Unified Diff: android_webview/lib/main/webview_tests.cc

Issue 786533002: aw: Rendering test harness and end-to-end smoke test (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: comment Created 6 years 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 | « android_webview/lib/DEPS ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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();
}
« no previous file with comments | « android_webview/lib/DEPS ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698