summaryrefslogtreecommitdiffstats
path: root/net/disk_cache/block_files_unittest.cc
diff options
context:
space:
mode:
authorphajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-08-06 00:03:08 +0000
committerphajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-08-06 00:03:08 +0000
commit847ed6c5908798298dca7c826ddcab817fec61ce (patch)
tree35c5dcd66f932c36c94caec22020582e89a7137e /net/disk_cache/block_files_unittest.cc
parent86cbd2abef20a01360a77dfd8593735cd1f0dbd4 (diff)
downloadchromium_src-847ed6c5908798298dca7c826ddcab817fec61ce.zip
chromium_src-847ed6c5908798298dca7c826ddcab817fec61ce.tar.gz
chromium_src-847ed6c5908798298dca7c826ddcab817fec61ce.tar.bz2
Bunch of Coverity fixes, rather minor severity.
TEST=none BUG=none Review URL: http://codereview.chromium.org/159862 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@22559 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/disk_cache/block_files_unittest.cc')
-rw-r--r--net/disk_cache/block_files_unittest.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/disk_cache/block_files_unittest.cc b/net/disk_cache/block_files_unittest.cc
index ce76fd6..b4ce107 100644
--- a/net/disk_cache/block_files_unittest.cc
+++ b/net/disk_cache/block_files_unittest.cc
@@ -14,7 +14,7 @@ using base::Time;
namespace {
// Returns the number of files in this folder.
-int NumberOfFiles(const std::wstring path) {
+int NumberOfFiles(const std::wstring& path) {
file_util::FileEnumerator iter(FilePath::FromWStringHack(path), false,
file_util::FileEnumerator::FILES);
int count = 0;