Index: mojo/edk/system/remote_message_pipe_unittest.cc |
diff --git a/mojo/edk/system/remote_message_pipe_unittest.cc b/mojo/edk/system/remote_message_pipe_unittest.cc |
index 6ab951f160aeefa88c7d2e5f8fdd3c1db29a6736..530d6c5c902369f521e90bb44c2b047014da1222 100644 |
--- a/mojo/edk/system/remote_message_pipe_unittest.cc |
+++ b/mojo/edk/system/remote_message_pipe_unittest.cc |
@@ -912,7 +912,7 @@ TEST_F(RemoteMessagePipeTest, SharedBufferPassing) { |
ASSERT_TRUE(dispatcher); |
// Make a mapping. |
- scoped_ptr<embedder::PlatformSharedBufferMapping> mapping0; |
+ std::unique_ptr<embedder::PlatformSharedBufferMapping> mapping0; |
EXPECT_EQ(MOJO_RESULT_OK, dispatcher->MapBuffer( |
0, 100, MOJO_MAP_BUFFER_FLAG_NONE, &mapping0)); |
ASSERT_TRUE(mapping0); |
@@ -979,7 +979,7 @@ TEST_F(RemoteMessagePipeTest, SharedBufferPassing) { |
dispatcher = static_cast<SharedBufferDispatcher*>(read_dispatchers[0].get()); |
// Make another mapping. |
- scoped_ptr<embedder::PlatformSharedBufferMapping> mapping1; |
+ std::unique_ptr<embedder::PlatformSharedBufferMapping> mapping1; |
EXPECT_EQ(MOJO_RESULT_OK, dispatcher->MapBuffer( |
0, 100, MOJO_MAP_BUFFER_FLAG_NONE, &mapping1)); |
ASSERT_TRUE(mapping1); |