diff options
author | jhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-06-22 04:21:10 +0000 |
---|---|---|
committer | jhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-06-22 04:21:10 +0000 |
commit | 92d5d525fc362abbf882d045261373a17798c043 (patch) | |
tree | 3e9ca61bef4e49726c5383de8f21a8bb34d1bd2a /net/tools/tld_cleanup/tld_cleanup.cc | |
parent | 1264b8bdf52d38e7a32b7b7de9737ea0a307bdd7 (diff) | |
download | chromium_src-92d5d525fc362abbf882d045261373a17798c043.zip chromium_src-92d5d525fc362abbf882d045261373a17798c043.tar.gz chromium_src-92d5d525fc362abbf882d045261373a17798c043.tar.bz2 |
Coverity: Pass parameters by reference.
CID=8725,14376,15499,15540,15655,16687,16688
BUG=none
TEST=none
R=kmadhusu@chromium.org
Review URL: http://codereview.chromium.org/7211037
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@89976 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/tools/tld_cleanup/tld_cleanup.cc')
-rw-r--r-- | net/tools/tld_cleanup/tld_cleanup.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/tools/tld_cleanup/tld_cleanup.cc b/net/tools/tld_cleanup/tld_cleanup.cc index 7a8aea8f..d6e42e4 100644 --- a/net/tools/tld_cleanup/tld_cleanup.cc +++ b/net/tools/tld_cleanup/tld_cleanup.cc @@ -52,7 +52,7 @@ typedef std::set<std::string> RuleSet; // Writes the list of domain rules contained in the 'rules' set to the // 'outfile', with each rule terminated by a LF. The file must already have // been created with write access. -bool WriteRules(const RuleMap& rules, FilePath outfile) { +bool WriteRules(const RuleMap& rules, const FilePath& outfile) { std::string data; data.append( "%{\n" |