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 38624f86619469763313de9db75c3943d3fbe883..df7d90e6c2bb00366f22f91f92722f1b921f383c 100644 |
--- a/android_webview/lib/main/webview_tests.cc |
+++ b/android_webview/lib/main/webview_tests.cc |
@@ -2,6 +2,7 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
+#include "android_webview/browser/deferred_gpu_command_service.h" |
#include "android_webview/native/android_webview_jni_registrar.h" |
#include "base/android/jni_android.h" |
#include "base/command_line.h" |
@@ -15,5 +16,6 @@ int main(int argc, char** argv) { |
base::CommandLine::ForCurrentProcess()->AppendSwitch( |
switches::kSingleProcess); |
gfx::GLSurfaceTestSupport::InitializeOneOff(); |
+ android_webview::DeferredGpuCommandService::SetInstance(); |
return base::TestSuite(argc, argv).Run(); |
} |