Index: webkit/tools/test_shell/simple_file_writer.cc |
diff --git a/webkit/tools/test_shell/simple_file_writer.cc b/webkit/tools/test_shell/simple_file_writer.cc |
index 83bc59f3c8f6b1c8f184345cdf5f5078671deb40..fee2c55489e21588572624121a4892dd8b245e1b 100644 |
--- a/webkit/tools/test_shell/simple_file_writer.cc |
+++ b/webkit/tools/test_shell/simple_file_writer.cc |
@@ -39,7 +39,7 @@ class SimpleFileWriter::IOThreadProxy |
// The IO thread needs to be running for this class to work. |
SimpleResourceLoaderBridge::EnsureIOThread(); |
io_thread_ = SimpleResourceLoaderBridge::GetIoThread(); |
- main_thread_ = base::MessageLoopProxy::CreateForCurrentThread(); |
+ main_thread_ = base::MessageLoopProxy::current(); |
} |
virtual ~IOThreadProxy() { |