Index: components/proximity_auth/bluetooth_connection_unittest.cc |
diff --git a/components/proximity_auth/bluetooth_connection_unittest.cc b/components/proximity_auth/bluetooth_connection_unittest.cc |
index 8782bbcfa43d01cf87029b618463fec87c5b73ab..0103a7da43d1b0bd84c52474a8d31ca20e6e83a0 100644 |
--- a/components/proximity_auth/bluetooth_connection_unittest.cc |
+++ b/components/proximity_auth/bluetooth_connection_unittest.cc |
@@ -400,7 +400,7 @@ TEST_F(ProximityAuthBluetoothConnectionTest, |
Connect(&connection); |
scoped_refptr<net::IOBuffer> buffer; |
- scoped_ptr<TestWireMessage> wire_message(new TestWireMessage); |
+ std::unique_ptr<TestWireMessage> wire_message(new TestWireMessage); |
EXPECT_CALL(*socket_, Send(_, kSerializedMessageLength, _, _)) |
.WillOnce(SaveArg<0>(&buffer)); |
connection.SendMessage(std::move(wire_message)); |
@@ -418,7 +418,7 @@ TEST_F(ProximityAuthBluetoothConnectionTest, SendMessage_Success) { |
StrictMock<MockBluetoothConnection> connection; |
Connect(&connection); |
- scoped_ptr<TestWireMessage> wire_message(new TestWireMessage); |
+ std::unique_ptr<TestWireMessage> wire_message(new TestWireMessage); |
// Ownership will be transfered below, so grab a reference here. |
TestWireMessage* expected_wire_message = wire_message.get(); |
@@ -440,7 +440,7 @@ TEST_F(ProximityAuthBluetoothConnectionTest, SendMessage_Failure) { |
StrictMock<MockBluetoothConnection> connection; |
Connect(&connection); |
- scoped_ptr<TestWireMessage> wire_message(new TestWireMessage); |
+ std::unique_ptr<TestWireMessage> wire_message(new TestWireMessage); |
// Ownership will be transfered below, so grab a reference here. |
TestWireMessage* expected_wire_message = wire_message.get(); |