diff options
author | jhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-03-29 01:58:24 +0000 |
---|---|---|
committer | jhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-03-29 01:58:24 +0000 |
commit | e555f205eb8931da7fdf0f4cb4a01a24c3e2bf8a (patch) | |
tree | 9b2c895be38b69c778d9081ffedaa928d2495aeb /chrome/browser/diagnostics | |
parent | 05f2f45e9dff8e1a989f4308a97254e27a576c35 (diff) | |
download | chromium_src-e555f205eb8931da7fdf0f4cb4a01a24c3e2bf8a.zip chromium_src-e555f205eb8931da7fdf0f4cb4a01a24c3e2bf8a.tar.gz chromium_src-e555f205eb8931da7fdf0f4cb4a01a24c3e2bf8a.tar.bz2 |
Coverity: Pass parameters by reference.
Also remove an unused function that I found.
CID=2634,4471,5392,6433,6434,6535,6777,6780,6781,6792,6810,7665,7759,8056,8072,
8637,8718,8726
BUG=none
TEST=non
R=csilv@chromium.org
Review URL: http://codereview.chromium.org/6730046
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@79651 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/diagnostics')
-rw-r--r-- | chrome/browser/diagnostics/recon_diagnostics.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/diagnostics/recon_diagnostics.cc b/chrome/browser/diagnostics/recon_diagnostics.cc index 60e4bae..86666f6 100644 --- a/chrome/browser/diagnostics/recon_diagnostics.cc +++ b/chrome/browser/diagnostics/recon_diagnostics.cc @@ -321,7 +321,7 @@ class DiskSpaceTest : public DiagnosticTest { // Checks that a given json file can be correctly parsed. class JSONTest : public DiagnosticTest { public: - JSONTest(const FilePath& path, const string16 name, int64 max_file_size) + JSONTest(const FilePath& path, const string16& name, int64 max_file_size) : DiagnosticTest(name), path_(path), max_file_size_(max_file_size) { } |