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

Unified Diff: webkit/glue/weburlloader_impl.cc

Issue 8550010: base::Bind() conversion for webkit. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . 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
Index: webkit/glue/weburlloader_impl.cc
diff --git a/webkit/glue/weburlloader_impl.cc b/webkit/glue/weburlloader_impl.cc
index 871f5a39986db5f0479823de0cc2c34514fed329..1d8f21c4515243c3fb5e3c86b20bd0ffa43b11ce 100644
--- a/webkit/glue/weburlloader_impl.cc
+++ b/webkit/glue/weburlloader_impl.cc
@@ -6,6 +6,7 @@
#include "webkit/glue/weburlloader_impl.h"
+#include "base/bind.h"
#include "base/file_path.h"
#include "base/memory/scoped_ptr.h"
#include "base/message_loop.h"
@@ -348,7 +349,7 @@ void WebURLLoaderImpl::Context::Start(
} else {
AddRef(); // Balanced in OnCompletedRequest
MessageLoop::current()->PostTask(FROM_HERE,
- NewRunnableMethod(this, &Context::HandleDataURL));
+ base::Bind(&Context::HandleDataURL, this));
}
return;
}

Powered by Google App Engine
This is Rietveld 408576698