Index: chrome/browser/automation/automation_provider.cc |
diff --git a/chrome/browser/automation/automation_provider.cc b/chrome/browser/automation/automation_provider.cc |
index 1e25d61403b85241aa0617c64ebf011f19276364..1ba30c931855bed26ef67b3f0c38d38de888260d 100644 |
--- a/chrome/browser/automation/automation_provider.cc |
+++ b/chrome/browser/automation/automation_provider.cc |
@@ -156,6 +156,7 @@ bool AutomationProvider::InitializeChannel(const std::string& channel_id) { |
automation_resource_message_filter_ = new AutomationResourceMessageFilter; |
} |
+ base::ThreadRestrictions::ScopedAllowIO allow_io; |
Paweł Hajdan Jr.
2011/07/29 20:48:38
Let's do it on the right thread. Who knows what ra
kkania
2011/07/29 22:44:19
I believe it is on the right thread.
This is only
Paweł Hajdan Jr.
2011/07/30 00:03:03
Then you shouldn't need ScopedAllowIO here.
|
channel_.reset(new IPC::ChannelProxy( |
effective_channel_id, |
GetChannelMode(use_named_interface), |