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

Unified Diff: net/proxy/network_delegate_error_observer.cc

Issue 8985012: base::Bind: Convert net/proxy. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: One more include. 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/network_delegate_error_observer.cc
diff --git a/net/proxy/network_delegate_error_observer.cc b/net/proxy/network_delegate_error_observer.cc
index d4f6cfb7983a0b8b5c6c0b83cf99a6a82ce90f35..e2412b4b01f1f655490a9c3b8588e2ca2b499b8f 100644
--- a/net/proxy/network_delegate_error_observer.cc
+++ b/net/proxy/network_delegate_error_observer.cc
@@ -4,6 +4,7 @@
#include "net/proxy/network_delegate_error_observer.h"
+#include "base/bind.h"
#include "base/location.h"
#include "base/message_loop_proxy.h"
#include "net/base/net_errors.h"
@@ -49,8 +50,7 @@ void NetworkDelegateErrorObserver::Core::NotifyPACScriptError(
if (!origin_loop_->BelongsToCurrentThread()) {
origin_loop_->PostTask(
FROM_HERE,
- NewRunnableMethod(this, &Core::NotifyPACScriptError,
- line_number, error));
+ base::Bind(&Core::NotifyPACScriptError, this, line_number, error));
return;
}
if (network_delegate_)
« no previous file with comments | « net/proxy/multi_threaded_proxy_resolver_unittest.cc ('k') | net/proxy/network_delegate_error_observer_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698