Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(413)

Unified Diff: chrome/browser/icon_loader_win.cc

Issue 8523008: base::Bind() chrome/browser/icon_loader*.cc (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 9 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/icon_loader_mac.mm ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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));
}
« no previous file with comments | « chrome/browser/icon_loader_mac.mm ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698