| Index: content/browser/device_orientation/provider_impl.cc
|
| diff --git a/content/browser/device_orientation/provider_impl.cc b/content/browser/device_orientation/provider_impl.cc
|
| index c4905147061a9c1f2c5455ebda66c21bdee1ccd9..aa79cebaafb94dd9d56fea2ad0ccad36905b0dcc 100644
|
| --- a/content/browser/device_orientation/provider_impl.cc
|
| +++ b/content/browser/device_orientation/provider_impl.cc
|
| @@ -224,6 +224,9 @@ void ProviderImpl::Start(DeviceData::Type type) {
|
| polling_thread_ = new PollingThread("Device data polling thread",
|
| weak_factory_.GetWeakPtr(),
|
| creator_loop_);
|
| +#if defined(OS_WIN)
|
| + polling_thread_->init_com_with_mta(true);
|
| +#endif
|
| if (!polling_thread_->Start()) {
|
| LOG(ERROR) << "Failed to start device data polling thread";
|
| delete polling_thread_;
|
|
|