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/views | |
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/views')
-rw-r--r-- | chrome/browser/views/options/general_page_view.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/views/options/general_page_view.cc b/chrome/browser/views/options/general_page_view.cc index e99444d..f8c1dce 100644 --- a/chrome/browser/views/options/general_page_view.cc +++ b/chrome/browser/views/options/general_page_view.cc @@ -106,7 +106,7 @@ class CustomHomePagesTableModel : public TableModel { bool know_fav_icon, scoped_refptr<RefCountedBytes> image_data, bool is_expired, - GURL icon_url); + const GURL& icon_url); // Returns the entry whose fav_icon_handle matches handle and sets entry_index // to the index of the entry. @@ -230,7 +230,7 @@ void CustomHomePagesTableModel::OnGotFavIcon( bool know_fav_icon, scoped_refptr<RefCountedBytes> image_data, bool is_expired, - GURL icon_url) { + const GURL& icon_url) { int entry_index; Entry* entry = GetEntryByLoadHandle(handle, &entry_index); DCHECK(entry); |