Commit 0c0930e5 authored by dcheng's avatar dcheng Committed by Commit bot

Remove implicit conversions from scoped_refptr to T* in c/b/chromeos/file_system_provider

This patch was generated by running the rewrite_scoped_refptr clang tool
on a ChromeOS build.

BUG=110610

Review URL: https://codereview.chromium.org/579663002

Cr-Commit-Position: refs/heads/master@{#295224}
parent f0003ece
...@@ -281,8 +281,8 @@ TEST_F(FileSystemProviderBufferingFileStreamReaderTest, ...@@ -281,8 +281,8 @@ TEST_F(FileSystemProviderBufferingFileStreamReaderTest,
scoped_refptr<net::IOBuffer> buffer(new net::IOBuffer(read_bytes)); scoped_refptr<net::IOBuffer> buffer(new net::IOBuffer(read_bytes));
std::vector<int> read_log; std::vector<int> read_log;
const int result = const int result = reader.Read(
reader.Read(buffer, read_bytes, base::Bind(&LogValue<int>, &read_log)); buffer.get(), read_bytes, base::Bind(&LogValue<int>, &read_log));
base::RunLoop().RunUntilIdle(); base::RunLoop().RunUntilIdle();
EXPECT_EQ(net::ERR_IO_PENDING, result); EXPECT_EQ(net::ERR_IO_PENDING, result);
...@@ -308,8 +308,8 @@ TEST_F(FileSystemProviderBufferingFileStreamReaderTest, ...@@ -308,8 +308,8 @@ TEST_F(FileSystemProviderBufferingFileStreamReaderTest,
scoped_refptr<net::IOBuffer> buffer(new net::IOBuffer(read_bytes)); scoped_refptr<net::IOBuffer> buffer(new net::IOBuffer(read_bytes));
std::vector<int> read_log; std::vector<int> read_log;
const int result = const int result = reader.Read(
reader.Read(buffer, read_bytes, base::Bind(&LogValue<int>, &read_log)); buffer.get(), read_bytes, base::Bind(&LogValue<int>, &read_log));
base::RunLoop().RunUntilIdle(); base::RunLoop().RunUntilIdle();
EXPECT_EQ(net::ERR_IO_PENDING, result); EXPECT_EQ(net::ERR_IO_PENDING, result);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment