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

Unified Diff: webkit/appcache/mock_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
« no previous file with comments | « webkit/appcache/appcache_url_request_job.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/appcache/mock_appcache_service.cc
===================================================================
--- webkit/appcache/mock_appcache_service.cc (revision 107404)
+++ webkit/appcache/mock_appcache_service.cc (working copy)
@@ -4,6 +4,7 @@
#include "webkit/appcache/mock_appcache_service.h"
+#include "base/bind.h"
#include "base/message_loop.h"
namespace appcache {
@@ -17,8 +18,8 @@
++delete_called_count_;
MessageLoop::current()->PostTask(
FROM_HERE,
- NewRunnableFunction(&DeferredCallCallback, callback,
- mock_delete_appcaches_for_origin_result_));
+ base::Bind(&DeferredCallCallback, callback,
+ mock_delete_appcaches_for_origin_result_));
}
} // namespace appcache
« no previous file with comments | « webkit/appcache/appcache_url_request_job.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698