Index: webrtc/base/buffer_unittest.cc |
diff --git a/webrtc/base/buffer_unittest.cc b/webrtc/base/buffer_unittest.cc |
index 80d26927a227c91d24ee07e389c55c9e1691e6ba..7c654477f3be47d16d36a09b387e5a683acb1def 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.DEPRECATED_Pass()); |
+ Buffer buf2(std::move(buf1)); |
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.DEPRECATED_Pass(); |
+ buf2 = std::move(buf1); |
EXPECT_EQ(buf2.size(), 3u); |
EXPECT_EQ(buf2.capacity(), 40u); |
EXPECT_EQ(buf2.data(), data); |