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

Unified Diff: chrome_frame/test/net/fake_external_tab.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
Index: chrome_frame/test/net/fake_external_tab.cc
diff --git a/chrome_frame/test/net/fake_external_tab.cc b/chrome_frame/test/net/fake_external_tab.cc
index c33b54c2e6c5f84fe585c9350815aa09ebbb059a..b597289079979c7197c0f2b7e5623a62226a22aa 100644
--- a/chrome_frame/test/net/fake_external_tab.cc
+++ b/chrome_frame/test/net/fake_external_tab.cc
@@ -8,6 +8,7 @@
#include <atlcom.h>
#include <exdisp.h>
+#include "base/bind.h"
#include "base/command_line.h"
#include "base/debug/debugger.h"
#include "base/file_util.h"
@@ -416,7 +417,7 @@ DWORD CFUrlRequestUnittestRunner::RunAllUnittests(void* param) {
reinterpret_cast<CFUrlRequestUnittestRunner*>(param);
me->test_result_ = me->Run();
me->fake_chrome_.ui_loop()->PostTask(FROM_HERE,
- NewRunnableFunction(TakeDownBrowser, me));
+ base::Bind(TakeDownBrowser, me));
return 0;
}
« no previous file with comments | « chrome_frame/crash_reporting/nt_loader_unittest.cc ('k') | chrome_frame/test/net/test_automation_resource_message_filter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698