| Index: net/proxy/proxy_config_service_mac.cc
|
| diff --git a/net/proxy/proxy_config_service_mac.cc b/net/proxy/proxy_config_service_mac.cc
|
| index 12db347ed4d000f33a9f2e3c560907c66b3d5f39..a1055ff61c34a745110a05c7320e5faf555a1236 100644
|
| --- a/net/proxy/proxy_config_service_mac.cc
|
| +++ b/net/proxy/proxy_config_service_mac.cc
|
| @@ -7,6 +7,7 @@
|
| #include <CoreFoundation/CoreFoundation.h>
|
| #include <SystemConfiguration/SystemConfiguration.h>
|
|
|
| +#include "base/bind.h"
|
| #include "base/logging.h"
|
| #include "base/mac/foundation_util.h"
|
| #include "base/mac/scoped_cftyperef.h"
|
| @@ -248,8 +249,7 @@ void ProxyConfigServiceMac::OnNetworkConfigChange(CFArrayRef changed_keys) {
|
| // Call OnProxyConfigChanged() on the IO thread to notify our observers.
|
| io_loop_->PostTask(
|
| FROM_HERE,
|
| - NewRunnableMethod(
|
| - helper_.get(), &Helper::OnProxyConfigChanged, new_config));
|
| + base::Bind(&Helper::OnProxyConfigChanged, helper_.get(), new_config));
|
| }
|
|
|
| void ProxyConfigServiceMac::OnProxyConfigChanged(
|
|
|