Index: chrome/browser/icon_loader.cc |
diff --git a/chrome/browser/icon_loader.cc b/chrome/browser/icon_loader.cc |
index 8be099859657cea626a523a8fb370a640bc2f591..9cb478fb89f47c57c838c0c99559ece6573a7d53 100644 |
--- a/chrome/browser/icon_loader.cc |
+++ b/chrome/browser/icon_loader.cc |
@@ -6,6 +6,7 @@ |
#include "base/basictypes.h" |
#include "base/bind.h" |
+#include "base/thread_task_runner_handle.h" |
#include "content/public/browser/browser_thread.h" |
using content::BrowserThread; |
@@ -13,7 +14,7 @@ using content::BrowserThread; |
IconLoader::IconLoader(const base::FilePath& file_path, |
IconSize size, |
Delegate* delegate) |
- : target_message_loop_(NULL), |
+ : target_task_runner_(NULL), |
file_path_(file_path), |
icon_size_(size), |
delegate_(delegate) {} |
@@ -22,7 +23,7 @@ IconLoader::~IconLoader() { |
} |
void IconLoader::Start() { |
- target_message_loop_ = base::MessageLoopProxy::current(); |
+ target_task_runner_ = base::ThreadTaskRunnerHandle::Get(); |
BrowserThread::PostTaskAndReply(BrowserThread::FILE, FROM_HERE, |
base::Bind(&IconLoader::ReadGroup, this), |