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

Unified Diff: content/public/browser/gpu_data_manager.h

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
Index: content/public/browser/gpu_data_manager.h
diff --git a/content/public/browser/gpu_data_manager.h b/content/public/browser/gpu_data_manager.h
index 97041d2ebc63ab2b8e66c9650398781ec36cb69d..476816d2b534b6ecb05becf5b1efeb7d5f894315 100644
--- a/content/public/browser/gpu_data_manager.h
+++ b/content/public/browser/gpu_data_manager.h
@@ -20,7 +20,7 @@ namespace content {
class GpuDataManagerObserver;
struct GPUInfo;
-// This class lives on the UI thread. Only methods that expliclity state that
+// This class lives on the UI thread. Only methods that explicitly state that
// they can be called on other threads are thread-safe.
class GpuDataManager {
public:
@@ -52,7 +52,7 @@ class GpuDataManager {
virtual bool ShouldUseSoftwareRendering() = 0;
// Register a path to the SwiftShader software renderer.
- virtual void RegisterSwiftShaderPath(FilePath path) = 0;
+ virtual void RegisterSwiftShaderPath(const FilePath& path) = 0;
virtual const base::ListValue& GetLogMessages() const = 0;
« no previous file with comments | « content/browser/gpu/gpu_data_manager_impl.cc ('k') | ppapi/native_client/src/trusted/plugin/service_runtime.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698