| Index: mojo/edk/system/raw_channel_posix.cc
|
| diff --git a/mojo/edk/system/raw_channel_posix.cc b/mojo/edk/system/raw_channel_posix.cc
|
| index f1b363d144ef1f6e86533a4d17d7e6b995c191d2..4285c13fde8b365400aa94b2e34fee9d77f811a0 100644
|
| --- a/mojo/edk/system/raw_channel_posix.cc
|
| +++ b/mojo/edk/system/raw_channel_posix.cc
|
| @@ -15,7 +15,6 @@
|
| #include "base/bind.h"
|
| #include "base/location.h"
|
| #include "base/logging.h"
|
| -#include "base/memory/scoped_ptr.h"
|
| #include "base/memory/weak_ptr.h"
|
| #include "base/message_loop/message_loop.h"
|
| #include "mojo/edk/embedder/platform_channel_utils_posix.h"
|
| @@ -470,9 +469,9 @@ void RawChannelPosix::WaitToWrite() {
|
|
|
| // Static factory method declared in raw_channel.h.
|
| // static
|
| -scoped_ptr<RawChannel> RawChannel::Create(
|
| +std::unique_ptr<RawChannel> RawChannel::Create(
|
| embedder::ScopedPlatformHandle handle) {
|
| - return make_scoped_ptr(new RawChannelPosix(handle.Pass()));
|
| + return util::MakeUnique<RawChannelPosix>(handle.Pass());
|
| }
|
|
|
| } // namespace system
|
|
|