Index: chrome/browser/icon_loader_chromeos.cc |
diff --git a/chrome/browser/icon_loader_chromeos.cc b/chrome/browser/icon_loader_chromeos.cc |
index 30f0005b8a7d2922c2b83145ecc951ffc76089d1..70f78c12707018143de4f279bdc69212db3a2fba 100644 |
--- a/chrome/browser/icon_loader_chromeos.cc |
+++ b/chrome/browser/icon_loader_chromeos.cc |
@@ -191,10 +191,11 @@ IconLoader::IconGroup IconLoader::GroupForFilepath( |
} |
// static |
-content::BrowserThread::ID IconLoader::ReadIconThreadID() { |
+scoped_refptr<base::TaskRunner> IconLoader::GetReadIconTaskRunner() { |
// ReadIcon touches non thread safe ResourceBundle images, so it must be on |
// the UI thread. |
- return content::BrowserThread::UI; |
+ return content::BrowserThread::GetTaskRunnerForThread( |
+ content::BrowserThread::UI); |
} |
void IconLoader::ReadIcon() { |