Index: chrome/browser/sync_file_system/drive_file_sync_service.cc |
diff --git a/chrome/browser/sync_file_system/drive_file_sync_service.cc b/chrome/browser/sync_file_system/drive_file_sync_service.cc |
index de5fe45d18136f6d8e52b0c772920f870c3daf7a..ddaa0eab1034dfcb368bb1ab2d40717270899bf4 100644 |
--- a/chrome/browser/sync_file_system/drive_file_sync_service.cc |
+++ b/chrome/browser/sync_file_system/drive_file_sync_service.cc |
@@ -70,10 +70,10 @@ bool CreateTemporaryFile(const base::FilePath& dir_path, |
file_util::CreateTemporaryFileInDir(dir_path, &temp_file_path); |
if (!success) |
return success; |
- *temp_file = webkit_blob::ScopedFile( |
- temp_file_path, |
- webkit_blob::ScopedFile::DELETE_ON_SCOPE_OUT, |
- base::MessageLoopProxy::current()); |
+ *temp_file = |
+ webkit_blob::ScopedFile(temp_file_path, |
+ webkit_blob::ScopedFile::DELETE_ON_SCOPE_OUT, |
+ base::MessageLoopProxy::current().get()); |
return success; |
} |
@@ -362,7 +362,7 @@ void DriveFileSyncService::Initialize( |
metadata_store_.reset(new DriveMetadataStore( |
profile_->GetPath().Append(GetSyncFileSystemDir()), |
content::BrowserThread::GetMessageLoopProxyForThread( |
- content::BrowserThread::FILE))); |
+ content::BrowserThread::FILE).get())); |
metadata_store_->Initialize( |
base::Bind(&DriveFileSyncService::DidInitializeMetadataStore, |