diff options
author | sergeyu@chromium.org <sergeyu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-03-20 20:31:44 +0000 |
---|---|---|
committer | sergeyu@chromium.org <sergeyu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-03-20 20:31:44 +0000 |
commit | 3361e1f24a5dd45ae86478af20c617d0b1ce40e0 (patch) | |
tree | 70079ed87a90f8f2322de722e6073ba192931196 /remoting/host/continue_window_mac.mm | |
parent | bd1a64b72240734d1061b7edd95ec9f268792c49 (diff) | |
download | chromium_src-3361e1f24a5dd45ae86478af20c617d0b1ce40e0.zip chromium_src-3361e1f24a5dd45ae86478af20c617d0b1ce40e0.tar.gz chromium_src-3361e1f24a5dd45ae86478af20c617d0b1ce40e0.tar.bz2 |
Use scoped_ptr<> to pass ownership in more places.
Review URL: http://codereview.chromium.org/9720019
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@127767 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'remoting/host/continue_window_mac.mm')
-rw-r--r-- | remoting/host/continue_window_mac.mm | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/remoting/host/continue_window_mac.mm b/remoting/host/continue_window_mac.mm index f5661846..c42cf91 100644 --- a/remoting/host/continue_window_mac.mm +++ b/remoting/host/continue_window_mac.mm @@ -1,4 +1,4 @@ -// Copyright (c) 2011 The Chromium Authors. All rights reserved. +// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. @@ -67,8 +67,8 @@ void ContinueWindowMac::Hide() { [controller_ hide]; } -ContinueWindow* ContinueWindow::Create() { - return new ContinueWindowMac(); +scoped_ptr<ContinueWindow> ContinueWindow::Create() { + return scoped_ptr<ContinueWindow>(new ContinueWindowMac()); } } // namespace remoting |