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

Unified Diff: content/browser/android/synchronous_compositor_base.cc

Issue 1778693002: Revert of Get rid of gpu related switches by passing gpu::GpuPreferences via IPC. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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/browser/deferred_gpu_command_service.cc ('k') | content/browser/gpu/gpu_process_host.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/android/synchronous_compositor_base.cc
diff --git a/content/browser/android/synchronous_compositor_base.cc b/content/browser/android/synchronous_compositor_base.cc
index 39d8b245d4dc9e0fe07b641b0b9ceb45f2475295..1ef5e861c9836008f8f1b7e98ba9b3239b1e1263 100644
--- a/content/browser/android/synchronous_compositor_base.cc
+++ b/content/browser/android/synchronous_compositor_base.cc
@@ -25,10 +25,10 @@
g_gpu_service = LAZY_INSTANCE_INITIALIZER;
base::Thread* CreateInProcessGpuThreadForSynchronousCompositor(
- const InProcessChildThreadParams& params,
- const gpu::GpuPreferences& gpu_preferences) {
+ const InProcessChildThreadParams& params) {
DCHECK(g_gpu_service.Get());
- return new InProcessGpuThread(params, gpu_preferences,
+ return new InProcessGpuThread(params,
+ g_gpu_service.Get()->gpu_preferences(),
g_gpu_service.Get()->sync_point_manager());
}
« no previous file with comments | « android_webview/browser/deferred_gpu_command_service.cc ('k') | content/browser/gpu/gpu_process_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698