Index: chrome/browser/sync_file_system/local_file_sync_service.cc |
diff --git a/chrome/browser/sync_file_system/local_file_sync_service.cc b/chrome/browser/sync_file_system/local_file_sync_service.cc |
index c719c96b9230a12fa3ead0088d2c3715a86869b2..ff8804c99d2fae1bc4f14ce86d411298c064256d 100644 |
--- a/chrome/browser/sync_file_system/local_file_sync_service.cc |
+++ b/chrome/browser/sync_file_system/local_file_sync_service.cc |
@@ -96,8 +96,9 @@ void LocalFileSyncService::OriginChangeMap::SetOriginEnabled( |
LocalFileSyncService::LocalFileSyncService(Profile* profile) |
: profile_(profile), |
sync_context_(new LocalFileSyncContext( |
- BrowserThread::GetMessageLoopProxyForThread(BrowserThread::UI), |
- BrowserThread::GetMessageLoopProxyForThread(BrowserThread::IO))), |
+ BrowserThread::GetMessageLoopProxyForThread(BrowserThread::UI).get(), |
+ BrowserThread::GetMessageLoopProxyForThread(BrowserThread::IO) |
+ .get())), |
local_change_processor_(NULL) { |
DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI)); |
sync_context_->AddOriginChangeObserver(this); |