Chromium Code Reviews| Index: components/storage_monitor/storage_monitor_linux.cc |
| diff --git a/components/storage_monitor/storage_monitor_linux.cc b/components/storage_monitor/storage_monitor_linux.cc |
| index 436304980d72be3af4ae3dde25cf7373ea59e04c..061ffdf99c725e2276597afb14bbdf85e6b07da1 100644 |
| --- a/components/storage_monitor/storage_monitor_linux.cc |
| +++ b/components/storage_monitor/storage_monitor_linux.cc |
| @@ -263,10 +263,9 @@ void StorageMonitorLinux::Init() { |
| weak_ptr_factory_.GetWeakPtr())); |
| if (!media_transfer_protocol_manager_) { |
| - scoped_refptr<base::MessageLoopProxy> loop_proxy = |
| - BrowserThread::GetMessageLoopProxyForThread(BrowserThread::FILE); |
| media_transfer_protocol_manager_.reset( |
| - device::MediaTransferProtocolManager::Initialize(loop_proxy)); |
| + device::MediaTransferProtocolManager::Initialize( |
| + BrowserThread::GetMessageLoopProxyForThread(BrowserThread::FILE))); |
|
Lei Zhang
2015/05/15 05:03:34
So this returns a MessageLoopProxy. What's the lon
Pranay
2015/05/15 11:14:23
Acknowledged.
|
| } |
| media_transfer_protocol_device_observer_.reset( |