| Index: remoting/base/multiple_array_input_stream_unittest.cc
|
| diff --git a/remoting/base/multiple_array_input_stream_unittest.cc b/remoting/base/multiple_array_input_stream_unittest.cc
|
| index 4a840e4c30acb1622781826115ee2316c9da5aae..1a21adde7e1b1835232d90240a1bf7266b7aa27e 100644
|
| --- a/remoting/base/multiple_array_input_stream_unittest.cc
|
| +++ b/remoting/base/multiple_array_input_stream_unittest.cc
|
| @@ -46,7 +46,7 @@ static void ReadString(MultipleArrayInputStream* input,
|
| scoped_array<char> buffer(new char[str.size() + 1]);
|
| buffer[str.size()] = '\0';
|
| EXPECT_EQ(ReadFromInput(input, buffer.get(), str.size()), str.size());
|
| - EXPECT_STREQ(str.c_str(), buffer.get());
|
| + EXPECT_STREQ(str.data(), buffer.get());
|
| }
|
|
|
| // Construct and prepare data in the |output_stream|.
|
| @@ -69,7 +69,7 @@ static void PrepareData(scoped_ptr<MultipleArrayInputStream>* stream) {
|
| }
|
|
|
| MultipleArrayInputStream* mstream = new MultipleArrayInputStream();
|
| - const char* data = kTestData.c_str();
|
| + const char* data = kTestData.data();
|
| for (int i = 0; i < segments; ++i) {
|
| int size = i % 2 == 0 ? 1 : 2;
|
| mstream->AddBuffer(new net::StringIOBuffer(std::string(data, size)), size);
|
|
|