Index: net/http/http_network_transaction_spdy3_unittest.cc |
diff --git a/net/http/http_network_transaction_spdy3_unittest.cc b/net/http/http_network_transaction_spdy3_unittest.cc |
index af4fb728c9f348ce19b58d6abbfb0574fabfc95a..74308085da356a9ca4bf809fd04ecd447b268aad 100644 |
--- a/net/http/http_network_transaction_spdy3_unittest.cc |
+++ b/net/http/http_network_transaction_spdy3_unittest.cc |
@@ -7537,8 +7537,11 @@ TEST_F(HttpNetworkTransactionSpdy3Test, UploadFileSmallerThanLength) { |
ScopedVector<UploadElementReader> element_readers; |
element_readers.push_back( |
- new UploadFileElementReader(base::MessageLoopProxy::current(), |
- temp_file_path, 0, kuint64max, base::Time())); |
+ new UploadFileElementReader(base::MessageLoopProxy::current().get(), |
+ temp_file_path, |
+ 0, |
+ kuint64max, |
+ base::Time())); |
UploadDataStream upload_data_stream(&element_readers, 0); |
HttpRequestInfo request; |
@@ -7591,8 +7594,11 @@ TEST_F(HttpNetworkTransactionSpdy3Test, UploadUnreadableFile) { |
ScopedVector<UploadElementReader> element_readers; |
element_readers.push_back( |
- new UploadFileElementReader(base::MessageLoopProxy::current(), |
- temp_file, 0, kuint64max, base::Time())); |
+ new UploadFileElementReader(base::MessageLoopProxy::current().get(), |
+ temp_file, |
+ 0, |
+ kuint64max, |
+ base::Time())); |
UploadDataStream upload_data_stream(&element_readers, 0); |
HttpRequestInfo request; |
@@ -7648,8 +7654,11 @@ TEST_F(HttpNetworkTransactionSpdy3Test, UnreadableUploadFileAfterAuthRestart) { |
ScopedVector<UploadElementReader> element_readers; |
element_readers.push_back( |
- new UploadFileElementReader(base::MessageLoopProxy::current(), |
- temp_file, 0, kuint64max, base::Time())); |
+ new UploadFileElementReader(base::MessageLoopProxy::current().get(), |
+ temp_file, |
+ 0, |
+ kuint64max, |
+ base::Time())); |
UploadDataStream upload_data_stream(&element_readers, 0); |
HttpRequestInfo request; |