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

Unified Diff: webkit/support/test_webmessageportchannel.cc

Issue 8991001: base::Bind: Convert most of webkit/appcache. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Review fix 2. Created 9 years 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/fileapi/webfilewriter_base_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/support/test_webmessageportchannel.cc
diff --git a/webkit/support/test_webmessageportchannel.cc b/webkit/support/test_webmessageportchannel.cc
index 8460460f8254ea9fc80329d8c9b4e988308973ca..98fae47789a23a158868148fc52db114f03c31ad 100644
--- a/webkit/support/test_webmessageportchannel.cc
+++ b/webkit/support/test_webmessageportchannel.cc
@@ -4,6 +4,7 @@
#include "webkit/support/test_webmessageportchannel.h"
+#include "base/bind.h"
#include "base/memory/scoped_ptr.h"
#include "base/message_loop.h"
#include "base/task.h"
@@ -66,9 +67,8 @@ void TestWebMessagePortChannel::postMessage(const WebString& data,
return;
MessageLoop::current()->PostTask(
FROM_HERE,
- NewRunnableMethod(remote_.get(),
- &TestWebMessagePortChannel::queueMessage,
- new Message(data, ports)));
+ base::Bind(&TestWebMessagePortChannel::queueMessage, remote_.get(),
+ new Message(data, ports)));
}
bool TestWebMessagePortChannel::tryGetMessage(WebString* data,
« no previous file with comments | « webkit/fileapi/webfilewriter_base_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698