Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1627)

Unified Diff: net/base/file_stream_unittest.cc

Issue 509563003: Remove implicit conversions from scoped_refptr to T* in net/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | net/base/sdch_manager_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/base/file_stream_unittest.cc
diff --git a/net/base/file_stream_unittest.cc b/net/base/file_stream_unittest.cc
index 2e308b3a7f82487be23f182ec006c07bdfb6d37d..cb5c798cb96fcb304558c10bff231b072994a100 100644
--- a/net/base/file_stream_unittest.cc
+++ b/net/base/file_stream_unittest.cc
@@ -172,7 +172,7 @@ TEST_F(FileStreamTest, UseClosedStream) {
// Try reading...
scoped_refptr<IOBufferWithSize> buf = new IOBufferWithSize(10);
- rv = stream.Read(buf, buf->size(), callback.callback());
+ rv = stream.Read(buf.get(), buf->size(), callback.callback());
EXPECT_EQ(ERR_UNEXPECTED, callback.GetResult(rv));
}
« no previous file with comments | « no previous file | net/base/sdch_manager_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698