diff options
author | phajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-08-06 00:03:08 +0000 |
---|---|---|
committer | phajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-08-06 00:03:08 +0000 |
commit | 847ed6c5908798298dca7c826ddcab817fec61ce (patch) | |
tree | 35c5dcd66f932c36c94caec22020582e89a7137e /chrome/browser/dom_ui | |
parent | 86cbd2abef20a01360a77dfd8593735cd1f0dbd4 (diff) | |
download | chromium_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 'chrome/browser/dom_ui')
-rw-r--r-- | chrome/browser/dom_ui/dom_ui_favicon_source.cc | 2 | ||||
-rw-r--r-- | chrome/browser/dom_ui/dom_ui_favicon_source.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/dom_ui/dom_ui_favicon_source.cc b/chrome/browser/dom_ui/dom_ui_favicon_source.cc index bb7b9f0..8f77134 100644 --- a/chrome/browser/dom_ui/dom_ui_favicon_source.cc +++ b/chrome/browser/dom_ui/dom_ui_favicon_source.cc @@ -42,7 +42,7 @@ void DOMUIFavIconSource::OnFavIconDataAvailable( bool know_favicon, scoped_refptr<RefCountedBytes> data, bool expired, - GURL icon_url) { + const GURL& icon_url) { HistoryService* hs = profile_->GetHistoryService(Profile::EXPLICIT_ACCESS); int request_id = cancelable_consumer_.GetClientData(hs, request_handle); diff --git a/chrome/browser/dom_ui/dom_ui_favicon_source.h b/chrome/browser/dom_ui/dom_ui_favicon_source.h index 42d770c..b33f0e5 100644 --- a/chrome/browser/dom_ui/dom_ui_favicon_source.h +++ b/chrome/browser/dom_ui/dom_ui_favicon_source.h @@ -37,7 +37,7 @@ class DOMUIFavIconSource : public ChromeURLDataManager::DataSource { bool know_favicon, scoped_refptr<RefCountedBytes> data, bool expired, - GURL url); + const GURL& url); private: Profile* profile_; |