Chromium Code Reviews| 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; |
| } |