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_win.cc | |
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_win.cc')
-rw-r--r-- | remoting/host/continue_window_win.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/remoting/host/continue_window_win.cc b/remoting/host/continue_window_win.cc index 190cc42..c62289b 100644 --- a/remoting/host/continue_window_win.cc +++ b/remoting/host/continue_window_win.cc @@ -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. @@ -148,8 +148,8 @@ void ContinueWindowWin::SetStrings(const UiStrings& strings) { SetWindowText(hwndCancel, strings.stop_sharing_button_text.c_str()); } -ContinueWindow* ContinueWindow::Create() { - return new ContinueWindowWin(); +scoped_ptr<ContinueWindow> ContinueWindow::Create() { + return scoped_ptr<ContinueWindow>(new ContinueWindowWin()); } } // namespace remoting |