| 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 e3203c2773deaea74ac17b1f5ddc6a8e64ccc8b7..73236da7f2259f5cc8feb82bf65d7bcfd17e8e56 100644
|
| --- a/content/browser/fileapi/fileapi_message_filter.cc
|
| +++ b/content/browser/fileapi/fileapi_message_filter.cc
|
| @@ -427,10 +427,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);
|
| }
|
| @@ -665,9 +662,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;
|
|
|