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

Unified Diff: chrome_frame/test/urlmon_moniker_integration_test.cc

Issue 8536037: base::Bind: Low-hanging fruit conversions of NewRunnableFunction. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Win fix 4. 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
« no previous file with comments | « chrome_frame/test/test_server_test.cc ('k') | chrome_frame/vtable_patch_manager_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome_frame/test/urlmon_moniker_integration_test.cc
diff --git a/chrome_frame/test/urlmon_moniker_integration_test.cc b/chrome_frame/test/urlmon_moniker_integration_test.cc
index 0812b530335a4dae3e2ea528ebd877617c31c199..7c656a8cef9a9a09ceea6ffd71df7ea5d2a1a5c2 100644
--- a/chrome_frame/test/urlmon_moniker_integration_test.cc
+++ b/chrome_frame/test/urlmon_moniker_integration_test.cc
@@ -5,6 +5,7 @@
#include <atlbase.h>
#include <atlcom.h>
+#include "base/bind.h"
#include "base/threading/thread.h"
#include "base/win/scoped_comptr.h"
#include "base/win/scoped_handle.h"
@@ -67,7 +68,7 @@ class RunTestServer : public base::Thread {
bool ret = StartWithOptions(Options(MessageLoop::TYPE_UI, 0));
if (ret) {
message_loop()->PostTask(FROM_HERE,
- NewRunnableFunction(&RunTestServer::StartServer, this));
+ base::Bind(&RunTestServer::StartServer, this));
wait_until_ready();
}
return ret;
« no previous file with comments | « chrome_frame/test/test_server_test.cc ('k') | chrome_frame/vtable_patch_manager_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698