diff options
author | jhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-10-26 18:10:00 +0000 |
---|---|---|
committer | jhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-10-26 18:10:00 +0000 |
commit | a3caa82f2d87ae876570d1fb9dd220c1e90104d4 (patch) | |
tree | 049c32974d5feb71d4e00e2031ddc3fc859da728 /chrome/browser/autocomplete | |
parent | d5bdce9f860bb4d87b5d51d1d202c59ec8b851b4 (diff) | |
download | chromium_src-a3caa82f2d87ae876570d1fb9dd220c1e90104d4.zip chromium_src-a3caa82f2d87ae876570d1fb9dd220c1e90104d4.tar.gz chromium_src-a3caa82f2d87ae876570d1fb9dd220c1e90104d4.tar.bz2 |
Coverity: Fix several pass-by-values.
CID=12543,12544,12758,12878,12879,12918,13252,13285,13301,13391
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/4040003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@63910 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/autocomplete')
-rw-r--r-- | chrome/browser/autocomplete/autocomplete_popup_view_gtk.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/autocomplete/autocomplete_popup_view_gtk.cc b/chrome/browser/autocomplete/autocomplete_popup_view_gtk.cc index 3d3d4e8..9c8c1b8 100644 --- a/chrome/browser/autocomplete/autocomplete_popup_view_gtk.cc +++ b/chrome/browser/autocomplete/autocomplete_popup_view_gtk.cc @@ -111,7 +111,7 @@ size_t GetUTF8Offset(const std::wstring& wide_text, size_t wide_text_offset) { void SetupLayoutForMatch(PangoLayout* layout, const std::wstring& text, - AutocompleteMatch::ACMatchClassifications classifications, + const AutocompleteMatch::ACMatchClassifications& classifications, const GdkColor* base_color, const GdkColor* dim_color, const GdkColor* url_color, |