Index: net/base/network_config_watcher_mac.cc |
diff --git a/net/base/network_config_watcher_mac.cc b/net/base/network_config_watcher_mac.cc |
index 24eaee9015f3cd10303ce130920a63f14623bc02..b4da07ddba914a8465deeebea691a6e5f1f076c1 100644 |
--- a/net/base/network_config_watcher_mac.cc |
+++ b/net/base/network_config_watcher_mac.cc |
@@ -62,15 +62,11 @@ NetworkConfigWatcherMacThread::~NetworkConfigWatcherMacThread() { |
// Allow IO because Stop() calls PlatformThread::Join(), which is a blocking |
// operation. This is expected during shutdown. |
base::ThreadRestrictions::ScopedAllowIO allow_io; |
- |
pauljensen
2017/05/31 14:52:38
needless whitespace change
jkarlin
2017/05/31 15:11:55
Done.
|
Stop(); |
} |
void NetworkConfigWatcherMacThread::Init() { |
- // Disallow IO to make sure NetworkConfigWatcherMacThread's helper thread does |
- // not perform blocking operations. |
- base::ThreadRestrictions::SetIOAllowed(false); |
- |
+ base::ThreadRestrictions::SetIOAllowed(true); |
delegate_->Init(); |
// TODO(willchan): Look to see if there's a better signal for when it's ok to |