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

Unified Diff: content/browser/gpu/gpu_data_manager_impl.cc

Issue 1881463002: Set GpuPreferences correctly in GpuDataManagerImplPrivate::AppendGpuCommandLine. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update 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
Index: content/browser/gpu/gpu_data_manager_impl.cc
diff --git a/content/browser/gpu/gpu_data_manager_impl.cc b/content/browser/gpu/gpu_data_manager_impl.cc
index 8b6d96143337cf7222dca3bd07b229a1a0245e26..0a820a421426e47053c370120c171b53d0dfa870 100644
--- a/content/browser/gpu/gpu_data_manager_impl.cc
+++ b/content/browser/gpu/gpu_data_manager_impl.cc
@@ -157,9 +157,10 @@ void GpuDataManagerImpl::AppendRendererCommandLine(
}
void GpuDataManagerImpl::AppendGpuCommandLine(
- base::CommandLine* command_line) const {
+ base::CommandLine* command_line,
+ gpu::GpuPreferences* gpu_preferences) const {
base::AutoLock auto_lock(lock_);
- private_->AppendGpuCommandLine(command_line);
+ private_->AppendGpuCommandLine(command_line, gpu_preferences);
}
void GpuDataManagerImpl::UpdateRendererWebPrefs(

Powered by Google App Engine
This is Rietveld 408576698