summaryrefslogtreecommitdiffstats
path: root/remoting/host/disconnect_window_win.cc
diff options
context:
space:
mode:
authorsergeyu@chromium.org <sergeyu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-03-20 20:31:44 +0000
committersergeyu@chromium.org <sergeyu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-03-20 20:31:44 +0000
commit3361e1f24a5dd45ae86478af20c617d0b1ce40e0 (patch)
tree70079ed87a90f8f2322de722e6073ba192931196 /remoting/host/disconnect_window_win.cc
parentbd1a64b72240734d1061b7edd95ec9f268792c49 (diff)
downloadchromium_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/disconnect_window_win.cc')
-rw-r--r--remoting/host/disconnect_window_win.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/remoting/host/disconnect_window_win.cc b/remoting/host/disconnect_window_win.cc
index a9f7742..42e703f 100644
--- a/remoting/host/disconnect_window_win.cc
+++ b/remoting/host/disconnect_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.
@@ -290,8 +290,8 @@ void DisconnectWindowWin::EndDialog(int result) {
}
}
-DisconnectWindow* DisconnectWindow::Create() {
- return new DisconnectWindowWin;
+scoped_ptr<DisconnectWindow> DisconnectWindow::Create() {
+ return scoped_ptr<DisconnectWindow>(new DisconnectWindowWin());
}
} // namespace remoting