Index: mojo/system/raw_channel_posix.cc |
diff --git a/mojo/system/raw_channel_posix.cc b/mojo/system/raw_channel_posix.cc |
index 6ee85945df0522c7306c5a1952bf880184a105b0..651a4a10c4733f42fb12fc36c82728fbac7c07a6 100644 |
--- a/mojo/system/raw_channel_posix.cc |
+++ b/mojo/system/raw_channel_posix.cc |
@@ -479,7 +479,7 @@ void RawChannelPosix::WaitToWrite() { |
// static |
scoped_ptr<RawChannel> RawChannel::Create( |
embedder::ScopedPlatformHandle handle) { |
- return scoped_ptr<RawChannel>(new RawChannelPosix(handle.Pass())); |
+ return make_scoped_ptr(new RawChannelPosix(handle.Pass())); |
} |
} // namespace system |