Index: webrtc/base/buffer_unittest.cc |
diff --git a/webrtc/base/buffer_unittest.cc b/webrtc/base/buffer_unittest.cc |
index f1ae6b86766b27c86640e1d818488ba71c2a4c2d..0b93b9b56e8d54afdd4b5d89964023f75c0cbb5f 100644 |
--- a/webrtc/base/buffer_unittest.cc |
+++ b/webrtc/base/buffer_unittest.cc |
@@ -138,7 +138,7 @@ TEST(BufferTest, TestEnsureCapacityLarger) { |
TEST(BufferTest, TestMoveConstruct) { |
Buffer buf1(kTestData, 3, 40); |
const uint8_t* data = buf1.data(); |
- Buffer buf2(buf1.Pass()); |
+ Buffer buf2(buf1.DEPRECATED_Pass()); |
EXPECT_EQ(buf2.size(), 3u); |
EXPECT_EQ(buf2.capacity(), 40u); |
EXPECT_EQ(buf2.data(), data); |
@@ -152,7 +152,7 @@ TEST(BufferTest, TestMoveAssign) { |
Buffer buf1(kTestData, 3, 40); |
const uint8_t* data = buf1.data(); |
Buffer buf2(kTestData); |
- buf2 = buf1.Pass(); |
+ buf2 = buf1.DEPRECATED_Pass(); |
EXPECT_EQ(buf2.size(), 3u); |
EXPECT_EQ(buf2.capacity(), 40u); |
EXPECT_EQ(buf2.data(), data); |