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

Unified Diff: webkit/appcache/appcache_service.cc

Issue 8399019: base::Bind usage (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 2 months 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
Index: webkit/appcache/appcache_service.cc
===================================================================
--- webkit/appcache/appcache_service.cc (revision 107404)
+++ webkit/appcache/appcache_service.cc (working copy)
@@ -4,6 +4,7 @@
#include "webkit/appcache/appcache_service.h"
+#include "base/bind.h"
#include "base/logging.h"
#include "base/message_loop.h"
#include "base/stl_util.h"
@@ -50,7 +51,7 @@
// Defer to guarentee async completion.
MessageLoop::current()->PostTask(
FROM_HERE,
- NewRunnableFunction(&DeferredCallCallback, callback_, rv));
+ base::Bind(&DeferredCallCallback, callback_, rv));
James Hawkins 2011/10/27 03:30:32 Nit: Looks like we can save a line and put this pa
michaeln 2011/10/27 19:20:02 Done.
}
callback_ = NULL;
}

Powered by Google App Engine
This is Rietveld 408576698