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

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

Issue 9429066: Coverity: Fix a few pass-by-values. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Revert one. Created 8 years, 10 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/browser/gpu/gpu_data_manager_impl.h ('k') | content/public/browser/gpu_data_manager.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 0194706f0eb20fec85441b8c8d9bc0b3b22db6a0..506b2f9370956d7d808bcfe044d6d6c87865d496 100644
--- a/content/browser/gpu/gpu_data_manager_impl.cc
+++ b/content/browser/gpu/gpu_data_manager_impl.cc
@@ -276,7 +276,7 @@ void GpuDataManagerImpl::UpdateGpuFeatureType(
EnableSoftwareRenderingIfNecessary();
}
-void GpuDataManagerImpl::RegisterSwiftShaderPath(FilePath path) {
+void GpuDataManagerImpl::RegisterSwiftShaderPath(const FilePath& path) {
swiftshader_path_ = path;
EnableSoftwareRenderingIfNecessary();
}
« no previous file with comments | « content/browser/gpu/gpu_data_manager_impl.h ('k') | content/public/browser/gpu_data_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698