Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(9)

Side by Side Diff: mojo/system/raw_channel_win.cc

Issue 610083002: Mojo: Convert some scoped_ptr<...>(new ...) to make_scoped_ptr(new ...) in mojo/{embedder,system}. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: missed a few Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « mojo/system/raw_channel_posix.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "mojo/system/raw_channel.h" 5 #include "mojo/system/raw_channel.h"
6 6
7 #include <windows.h> 7 #include <windows.h>
8 8
9 #include "base/auto_reset.h" 9 #include "base/auto_reset.h"
10 #include "base/bind.h" 10 #include "base/bind.h"
(...skipping 555 matching lines...) Expand 10 before | Expand all | Expand 10 after
566 } 566 }
567 567
568 } // namespace 568 } // namespace
569 569
570 // ----------------------------------------------------------------------------- 570 // -----------------------------------------------------------------------------
571 571
572 // Static factory method declared in raw_channel.h. 572 // Static factory method declared in raw_channel.h.
573 // static 573 // static
574 scoped_ptr<RawChannel> RawChannel::Create( 574 scoped_ptr<RawChannel> RawChannel::Create(
575 embedder::ScopedPlatformHandle handle) { 575 embedder::ScopedPlatformHandle handle) {
576 return scoped_ptr<RawChannel>(new RawChannelWin(handle.Pass())); 576 return make_scoped_ptr(new RawChannelWin(handle.Pass()));
577 } 577 }
578 578
579 } // namespace system 579 } // namespace system
580 } // namespace mojo 580 } // namespace mojo
OLDNEW
« no previous file with comments | « mojo/system/raw_channel_posix.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698