summaryrefslogtreecommitdiffstats
path: root/chrome/test/automation/automation_proxy.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/test/automation/automation_proxy.cc')
-rw-r--r--chrome/test/automation/automation_proxy.cc7
1 files changed, 5 insertions, 2 deletions
diff --git a/chrome/test/automation/automation_proxy.cc b/chrome/test/automation/automation_proxy.cc
index 965d47c..1724f95 100644
--- a/chrome/test/automation/automation_proxy.cc
+++ b/chrome/test/automation/automation_proxy.cc
@@ -182,8 +182,11 @@ void AutomationProxy::InitializeChannelID() {
}
void AutomationProxy::InitializeThread() {
- scoped_ptr<Thread> thread(new Thread("AutomationProxy_BackgroundThread"));
- bool thread_result = thread->Start();
+ scoped_ptr<base::Thread> thread(
+ new base::Thread("AutomationProxy_BackgroundThread"));
+ base::Thread::Options options;
+ options.message_loop_type = MessageLoop::TYPE_IO;
+ bool thread_result = thread->StartWithOptions(options);
DCHECK(thread_result);
thread_.swap(thread);
}