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

Unified Diff: content/gpu/in_process_gpu_thread.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 | « content/gpu/in_process_gpu_thread.h ('k') | content/public/browser/gpu_utils.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/gpu/in_process_gpu_thread.cc
diff --git a/content/gpu/in_process_gpu_thread.cc b/content/gpu/in_process_gpu_thread.cc
index 8f170c3940de2a23083a43bb1334ae561938b3d1..1453ff2ab9ea9cbb9c84b7c74a0f79e5dd43551a 100644
--- a/content/gpu/in_process_gpu_thread.cc
+++ b/content/gpu/in_process_gpu_thread.cc
@@ -74,10 +74,9 @@
}
base::Thread* CreateInProcessGpuThread(
- const InProcessChildThreadParams& params,
- const gpu::GpuPreferences& gpu_preferences) {
+ const InProcessChildThreadParams& params) {
return new InProcessGpuThread(
- params, gpu_preferences, nullptr);
+ params, GpuChildThread::GetGpuPreferencesFromCommandLine(), nullptr);
}
} // namespace content
« no previous file with comments | « content/gpu/in_process_gpu_thread.h ('k') | content/public/browser/gpu_utils.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698