| OLD | NEW | 
|---|
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be | 
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. | 
| 4 | 4 | 
| 5 #include "android_webview/native/android_webview_jni_registrar.h" | 5 #include "android_webview/native/android_webview_jni_registrar.h" | 
| 6 #include "base/android/jni_android.h" | 6 #include "base/android/jni_android.h" | 
|  | 7 #include "base/command_line.h" | 
| 7 #include "base/test/test_suite.h" | 8 #include "base/test/test_suite.h" | 
|  | 9 #include "content/public/common/content_switches.h" | 
|  | 10 #include "ui/gl/gl_surface.h" | 
| 8 | 11 | 
| 9 int main(int argc, char** argv) { | 12 int main(int argc, char** argv) { | 
| 10   android_webview::RegisterJni(base::android::AttachCurrentThread()); | 13   android_webview::RegisterJni(base::android::AttachCurrentThread()); | 
|  | 14   CommandLine::ForCurrentProcess()->AppendSwitch(switches::kSingleProcess); | 
|  | 15   gfx::GLSurface::InitializeOneOffForTests(); | 
| 11   return base::TestSuite(argc, argv).Run(); | 16   return base::TestSuite(argc, argv).Run(); | 
| 12 } | 17 } | 
| OLD | NEW | 
|---|