summaryrefslogtreecommitdiffstats
path: root/net/http/http_network_transaction_spdy3_unittest.cc
diff options
context:
space:
mode:
Diffstat (limited to 'net/http/http_network_transaction_spdy3_unittest.cc')
-rw-r--r--net/http/http_network_transaction_spdy3_unittest.cc21
1 files changed, 15 insertions, 6 deletions
diff --git a/net/http/http_network_transaction_spdy3_unittest.cc b/net/http/http_network_transaction_spdy3_unittest.cc
index af4fb72..7430808 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;