Index: content/browser/fileapi/fileapi_message_filter.cc |
diff --git a/content/browser/fileapi/fileapi_message_filter.cc b/content/browser/fileapi/fileapi_message_filter.cc |
index 3ce1d18facf7b90838cdb115343f20e94834ad2c..94498664948036ca235ba5d4a5bf1272574c159c 100644 |
--- a/content/browser/fileapi/fileapi_message_filter.cc |
+++ b/content/browser/fileapi/fileapi_message_filter.cc |
@@ -432,10 +432,7 @@ void FileAPIMessageFilter::OnSyncGetPlatformPath( |
// TODO(kinuko): this hack should go away once appropriate upload-stream |
// handling based on element types is supported. |
FileSystemOperation* operation = |
- context_->CreateFileSystemOperation( |
- path, |
- BrowserThread::GetMessageLoopProxyForThread( |
- BrowserThread::FILE))->AsFileSystemOperation(); |
+ context_->CreateFileSystemOperation(path)->AsFileSystemOperation(); |
DCHECK(operation); |
operation->SyncGetPlatformPath(path, platform_path); |
} |
@@ -670,9 +667,7 @@ FileSystemOperationInterface* FileAPIMessageFilter::GetNewOperation( |
const GURL& target_path, |
int request_id) { |
FileSystemOperationInterface* operation = |
- context_->CreateFileSystemOperation( |
- target_path, |
- BrowserThread::GetMessageLoopProxyForThread(BrowserThread::FILE)); |
+ context_->CreateFileSystemOperation(target_path); |
DCHECK(operation); |
operations_.AddWithID(operation, request_id); |
return operation; |