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

Unified Diff: android_webview/browser/deferred_gpu_command_service.cc

Issue 1908223002: Remove content/gpu from content/browser/android/DEPS (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: owned_sync_point_manager_ Created 4 years, 8 months 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/android_webview.gyp ('k') | android_webview/gpu/DEPS » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « android_webview/android_webview.gyp ('k') | android_webview/gpu/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698