summaryrefslogtreecommitdiffstats
path: root/chrome/browser/possible_url_model.cc
diff options
context:
space:
mode:
authorarv@chromium.org <arv@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-03-17 20:19:57 +0000
committerarv@chromium.org <arv@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-03-17 20:19:57 +0000
commit790879f7d6faea44ef0d13c2f7b44fe74edafa5e (patch)
tree6d0210a7594a265ba97425289f0a0ac44aabfb62 /chrome/browser/possible_url_model.cc
parent36ea6c6f047abed672aa9af4f3071a7364142d64 (diff)
downloadchromium_src-790879f7d6faea44ef0d13c2f7b44fe74edafa5e.zip
chromium_src-790879f7d6faea44ef0d13c2f7b44fe74edafa5e.tar.gz
chromium_src-790879f7d6faea44ef0d13c2f7b44fe74edafa5e.tar.bz2
Change so that the extension favicon is read on the UI thread since extension objects should only be accessed on the UI thread.
This also fixes erg's todo to make favicons use RefCountedMemory instead of RefCountedBytes in all places. BUG=None TEST=None Review URL: http://codereview.chromium.org/1028001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@41869 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/possible_url_model.cc')
-rw-r--r--chrome/browser/possible_url_model.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/possible_url_model.cc b/chrome/browser/possible_url_model.cc
index bfe3c1a..12269e4 100644
--- a/chrome/browser/possible_url_model.cc
+++ b/chrome/browser/possible_url_model.cc
@@ -169,7 +169,7 @@ int PossibleURLModel::CompareValues(int row1, int row2, int column_id) {
void PossibleURLModel::OnFavIconAvailable(
FaviconService::Handle h,
bool fav_icon_available,
- scoped_refptr<RefCountedBytes> data,
+ scoped_refptr<RefCountedMemory> data,
bool expired,
GURL icon_url) {
if (profile_) {