diff options
author | scr@chromium.org <scr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-12-21 17:48:54 +0000 |
---|---|---|
committer | scr@chromium.org <scr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-12-21 17:48:54 +0000 |
commit | 53b6b58a4dc24b57153c2154885cc36d6f369e9a (patch) | |
tree | 340abd40c12ea46b3e0aea297c6f86c70cf9828b /content/common | |
parent | 0990ee038bd99f81f9d2366c2893278afc601de0 (diff) | |
download | chromium_src-53b6b58a4dc24b57153c2154885cc36d6f369e9a.zip chromium_src-53b6b58a4dc24b57153c2154885cc36d6f369e9a.tar.gz chromium_src-53b6b58a4dc24b57153c2154885cc36d6f369e9a.tar.bz2 |
Coverity fixlet: PASS_BY_VALUE CID=102566
R=jam@chromium.org
BUG=
CID=102566
TEST=
Review URL: http://codereview.chromium.org/9007038
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@115349 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/common')
-rw-r--r-- | content/common/font_cache_dispatcher_win.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/content/common/font_cache_dispatcher_win.cc b/content/common/font_cache_dispatcher_win.cc index f324761..bbdad9f 100644 --- a/content/common/font_cache_dispatcher_win.cc +++ b/content/common/font_cache_dispatcher_win.cc @@ -21,7 +21,7 @@ class FontCache { return Singleton<FontCache>::get(); } - void PreCacheFont(LOGFONT font, FontCacheDispatcher* dispatcher) { + void PreCacheFont(const LOGFONT& font, FontCacheDispatcher* dispatcher) { typedef std::map<string16, FontCache::CacheElement> FontNameToElement; base::AutoLock lock(mutex_); |