Index: mojo/system/raw_channel_win.cc |
diff --git a/mojo/system/raw_channel_win.cc b/mojo/system/raw_channel_win.cc |
index 99e674f99cfc3cb929ec72a5cfd664de5e9d8741..1a054b9f1e372fe32e2c9b8378d5be9f5f114783 100644 |
--- a/mojo/system/raw_channel_win.cc |
+++ b/mojo/system/raw_channel_win.cc |
@@ -573,7 +573,7 @@ void RawChannelWin::OnShutdownNoLock(scoped_ptr<ReadBuffer> read_buffer, |
// static |
scoped_ptr<RawChannel> RawChannel::Create( |
embedder::ScopedPlatformHandle handle) { |
- return scoped_ptr<RawChannel>(new RawChannelWin(handle.Pass())); |
+ return make_scoped_ptr(new RawChannelWin(handle.Pass())); |
} |
} // namespace system |