Index: remoting/base/compound_buffer_unittest.cc |
diff --git a/remoting/base/compound_buffer_unittest.cc b/remoting/base/compound_buffer_unittest.cc |
index 77cb48438105abf6b28b38212b609611ed1861d2..c6dde77f398cae2b9e8cc2e329127ffa664ecb8c 100644 |
--- a/remoting/base/compound_buffer_unittest.cc |
+++ b/remoting/base/compound_buffer_unittest.cc |
@@ -35,7 +35,7 @@ class CompoundBufferTest : public testing::Test { |
// Following 5 methods are used with IterateOverPieces(). |
void Append(int pos, int size) { |
- target_.Append(data_, data_->data() + pos, size); |
+ target_.Append(data_.get(), data_->data() + pos, size); |
} |
void AppendCopyOf(int pos, int size) { |
@@ -43,7 +43,7 @@ class CompoundBufferTest : public testing::Test { |
} |
void Prepend(int pos, int size) { |
- target_.Prepend(data_, data_->data() + kDataSize - pos - size, size); |
+ target_.Prepend(data_.get(), data_->data() + kDataSize - pos - size, size); |
} |
void PrependCopyOf(int pos, int size) { |