Index: net/http/http_network_transaction_spdy2_unittest.cc |
diff --git a/net/http/http_network_transaction_spdy2_unittest.cc b/net/http/http_network_transaction_spdy2_unittest.cc |
index 6f5c95520abc52c5088433b41061b85d73c47129..d9cbb0ace42797fa18421eed8151673a75f7d089 100644 |
--- a/net/http/http_network_transaction_spdy2_unittest.cc |
+++ b/net/http/http_network_transaction_spdy2_unittest.cc |
@@ -7551,8 +7551,11 @@ TEST_F(HttpNetworkTransactionSpdy2Test, 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; |
@@ -7605,8 +7608,11 @@ TEST_F(HttpNetworkTransactionSpdy2Test, 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; |
@@ -7662,8 +7668,11 @@ TEST_F(HttpNetworkTransactionSpdy2Test, 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; |