Index: net/http/http_stream_parser_unittest.cc |
diff --git a/net/http/http_stream_parser_unittest.cc b/net/http/http_stream_parser_unittest.cc |
index 5d9bcfdd700fac80b377a1ab66f329126973b53e..99a08032e6b31d9cb9f65673d38d7d261c92f2bc 100644 |
--- a/net/http/http_stream_parser_unittest.cc |
+++ b/net/http/http_stream_parser_unittest.cc |
@@ -125,8 +125,12 @@ TEST(HttpStreamParser, ShouldMergeRequestHeadersAndBody_FileBody) { |
ASSERT_TRUE(file_util::CreateTemporaryFileInDir(temp_dir.path(), |
&temp_file_path)); |
- element_readers.push_back(new UploadFileElementReader( |
- base::MessageLoopProxy::current(), temp_file_path, 0, 0, base::Time())); |
+ element_readers.push_back( |
+ new UploadFileElementReader(base::MessageLoopProxy::current().get(), |
+ temp_file_path, |
+ 0, |
+ 0, |
+ base::Time())); |
scoped_ptr<UploadDataStream> body(new UploadDataStream(&element_readers, 0)); |
TestCompletionCallback callback; |