| Index: webkit/tools/test_shell/simple_file_system.cc
|
| diff --git a/webkit/tools/test_shell/simple_file_system.cc b/webkit/tools/test_shell/simple_file_system.cc
|
| index 5a0ad62a6e6e2b1c22022dbdf1d603110a7eeadd..6b3056319d93298de1bb2b36a11d1ee318d1858e 100644
|
| --- a/webkit/tools/test_shell/simple_file_system.cc
|
| +++ b/webkit/tools/test_shell/simple_file_system.cc
|
| @@ -132,8 +132,8 @@ class SimpleFileSystemCallbackDispatcher
|
| SimpleFileSystem::SimpleFileSystem() {
|
| if (file_system_dir_.CreateUniqueTempDir()) {
|
| file_system_context_ = new FileSystemContext(
|
| - base::MessageLoopProxy::CreateForCurrentThread(),
|
| - base::MessageLoopProxy::CreateForCurrentThread(),
|
| + base::MessageLoopProxy::current(),
|
| + base::MessageLoopProxy::current(),
|
| NULL /* special storage policy */,
|
| NULL /* quota manager */,
|
| file_system_dir_.path(),
|
| @@ -298,7 +298,7 @@ FileSystemOperation* SimpleFileSystem::GetNewOperation(
|
| SimpleFileSystemCallbackDispatcher* dispatcher =
|
| new SimpleFileSystemCallbackDispatcher(AsWeakPtr(), callbacks);
|
| FileSystemOperation* operation = new FileSystemOperation(
|
| - dispatcher, base::MessageLoopProxy::CreateForCurrentThread(),
|
| + dispatcher, base::MessageLoopProxy::current(),
|
| file_system_context_.get(), NULL);
|
| return operation;
|
| }
|
|
|