Index: android_webview/browser/deferred_gpu_command_service.cc |
diff --git a/android_webview/browser/deferred_gpu_command_service.cc b/android_webview/browser/deferred_gpu_command_service.cc |
index c745d65bb88a1f54badd203f65775cefca28f083..cd4e85dc201942e7c2d5a383166bb7ea982e22a1 100644 |
--- a/android_webview/browser/deferred_gpu_command_service.cc |
+++ b/android_webview/browser/deferred_gpu_command_service.cc |
@@ -11,7 +11,6 @@ |
#include "base/strings/string_number_conversions.h" |
#include "base/synchronization/lock.h" |
#include "base/trace_event/trace_event.h" |
-#include "content/public/browser/android/synchronous_compositor.h" |
#include "content/public/browser/gpu_utils.h" |
#include "content/public/common/content_switches.h" |
#include "gpu/command_buffer/service/framebuffer_completeness_cache.h" |
@@ -59,10 +58,8 @@ ScopedAllowGL::~ScopedAllowGL() { |
// static |
void DeferredGpuCommandService::SetInstance() { |
- if (!g_service.Get().get()) { |
+ if (!g_service.Get().get()) |
g_service.Get() = new DeferredGpuCommandService; |
- content::SynchronousCompositor::SetGpuService(g_service.Get()); |
- } |
} |
// static |