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

Unified Diff: net/proxy/sync_host_resolver_bridge.cc

Issue 8985012: base::Bind: Convert net/proxy. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add bind includes. 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
Index: net/proxy/sync_host_resolver_bridge.cc
diff --git a/net/proxy/sync_host_resolver_bridge.cc b/net/proxy/sync_host_resolver_bridge.cc
index 69dce07ff1f2abfb28bfb2071990fd404af07166..6ed00dd61b8b847710c50a3a7c0380192384f9e8 100644
--- a/net/proxy/sync_host_resolver_bridge.cc
+++ b/net/proxy/sync_host_resolver_bridge.cc
@@ -86,8 +86,7 @@ int SyncHostResolverBridge::Core::ResolveSynchronously(
// Otherwise start an async resolve on the resolver's thread.
host_resolver_loop_->PostTask(
FROM_HERE,
- NewRunnableMethod(this, &Core::StartResolve,
- info, addresses));
+ base::Bind(&Core::StartResolve, this, info, addresses));
return WaitForResolveCompletion();
}

Powered by Google App Engine
This is Rietveld 408576698