Index: chrome/browser/icon_loader_win.cc |
diff --git a/chrome/browser/icon_loader_win.cc b/chrome/browser/icon_loader_win.cc |
index 043260d6142eaafcdb7d54e07db89d76da2684b6..f51c0649900657de51841b58c9a765f84caf9642 100644 |
--- a/chrome/browser/icon_loader_win.cc |
+++ b/chrome/browser/icon_loader_win.cc |
@@ -7,6 +7,7 @@ |
#include <windows.h> |
#include <shellapi.h> |
+#include "base/bind.h" |
#include "base/message_loop.h" |
#include "base/threading/thread.h" |
#include "ui/gfx/icon_util.h" |
@@ -37,5 +38,5 @@ void IconLoader::ReadIcon() { |
IconUtil::CreateSkBitmapFromHICON(file_info.hIcon))); |
DestroyIcon(file_info.hIcon); |
target_message_loop_->PostTask(FROM_HERE, |
- NewRunnableMethod(this, &IconLoader::NotifyDelegate)); |
+ base::Bind(&IconLoader::NotifyDelegate, this)); |
} |