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

Unified Diff: chrome/browser/chromeos/file_system_provider/fileapi/buffering_file_stream_reader_unittest.cc

Issue 579663002: Remove implicit conversions from scoped_refptr to T* in c/b/chromeos/file_system_provider (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/file_system_provider/fileapi/buffering_file_stream_reader_unittest.cc
diff --git a/chrome/browser/chromeos/file_system_provider/fileapi/buffering_file_stream_reader_unittest.cc b/chrome/browser/chromeos/file_system_provider/fileapi/buffering_file_stream_reader_unittest.cc
index 1a3ea7e0c76074a88d7ad1593750fe8a0f919226..546fd35ece9862f5972b51d53844d9821b52016c 100644
--- a/chrome/browser/chromeos/file_system_provider/fileapi/buffering_file_stream_reader_unittest.cc
+++ b/chrome/browser/chromeos/file_system_provider/fileapi/buffering_file_stream_reader_unittest.cc
@@ -281,8 +281,8 @@ TEST_F(FileSystemProviderBufferingFileStreamReaderTest,
scoped_refptr<net::IOBuffer> buffer(new net::IOBuffer(read_bytes));
std::vector<int> read_log;
- const int result =
- reader.Read(buffer, read_bytes, base::Bind(&LogValue<int>, &read_log));
+ const int result = reader.Read(
+ buffer.get(), read_bytes, base::Bind(&LogValue<int>, &read_log));
base::RunLoop().RunUntilIdle();
EXPECT_EQ(net::ERR_IO_PENDING, result);
@@ -308,8 +308,8 @@ TEST_F(FileSystemProviderBufferingFileStreamReaderTest,
scoped_refptr<net::IOBuffer> buffer(new net::IOBuffer(read_bytes));
std::vector<int> read_log;
- const int result =
- reader.Read(buffer, read_bytes, base::Bind(&LogValue<int>, &read_log));
+ const int result = reader.Read(
+ buffer.get(), read_bytes, base::Bind(&LogValue<int>, &read_log));
base::RunLoop().RunUntilIdle();
EXPECT_EQ(net::ERR_IO_PENDING, result);
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698