Index: remoting/base/multiple_array_input_stream_unittest.cc |
=================================================================== |
--- remoting/base/multiple_array_input_stream_unittest.cc (revision 64676) |
+++ remoting/base/multiple_array_input_stream_unittest.cc (working copy) |
@@ -46,7 +46,7 @@ |
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.data(), buffer.get()); |
+ EXPECT_STREQ(str.c_str(), buffer.get()); |
} |
// Construct and prepare data in the |output_stream|. |
@@ -69,7 +69,7 @@ |
} |
MultipleArrayInputStream* mstream = new MultipleArrayInputStream(); |
- const char* data = kTestData.data(); |
+ const char* data = kTestData.c_str(); |
for (int i = 0; i < segments; ++i) { |
int size = i % 2 == 0 ? 1 : 2; |
mstream->AddBuffer(new net::StringIOBuffer(std::string(data, size)), size); |