summaryrefslogtreecommitdiffstats
path: root/chrome/browser/net/url_info.cc
diff options
context:
space:
mode:
authorjhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-03-11 04:38:52 +0000
committerjhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-03-11 04:38:52 +0000
commit4df3ac66b2c5e1c1d04bd944424e7bace6f58bf6 (patch)
treeba7ab737cad378650154571bd472f25277d089d8 /chrome/browser/net/url_info.cc
parent3562f1b7d9d71ff68d4d0936112daa1ea1fa7268 (diff)
downloadchromium_src-4df3ac66b2c5e1c1d04bd944424e7bace6f58bf6.zip
chromium_src-4df3ac66b2c5e1c1d04bd944424e7bace6f58bf6.tar.gz
chromium_src-4df3ac66b2c5e1c1d04bd944424e7bace6f58bf6.tar.bz2
Coverity: Pass values by reference.
CID=8402,8494,8641,8716,8717,8740,9100 BUG=none TEST=none Review URL: http://codereview.chromium.org/6676015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@77788 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/net/url_info.cc')
-rw-r--r--chrome/browser/net/url_info.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/chrome/browser/net/url_info.cc b/chrome/browser/net/url_info.cc
index 8418b12..cc02165 100644
--- a/chrome/browser/net/url_info.cc
+++ b/chrome/browser/net/url_info.cc
@@ -259,10 +259,10 @@ static std::string HoursMinutesSeconds(int seconds) {
}
// static
-void UrlInfo::GetHtmlTable(const UrlInfoTable host_infos,
- const char* description,
- const bool brief,
- std::string* output) {
+void UrlInfo::GetHtmlTable(const UrlInfoTable& host_infos,
+ const char* description,
+ bool brief,
+ std::string* output) {
if (0 == host_infos.size())
return;
output->append(description);