summaryrefslogtreecommitdiffstats
path: root/views/window/window_delegate.cc
diff options
context:
space:
mode:
authorestade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-05-06 21:00:46 +0000
committerestade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-05-06 21:00:46 +0000
commit2baa4b428c71526d2b6d58fa58f55f8b5602ca3a (patch)
treeb3e9213e6c6237bd34a3e8ece459d528b8c3499e /views/window/window_delegate.cc
parent949d0238e22516eb14cafdf12cd1e38d730976cc (diff)
downloadchromium_src-2baa4b428c71526d2b6d58fa58f55f8b5602ca3a.zip
chromium_src-2baa4b428c71526d2b6d58fa58f55f8b5602ca3a.tar.gz
chromium_src-2baa4b428c71526d2b6d58fa58f55f8b5602ca3a.tar.bz2
some more fixes for ignored scoped_ptr::release() calls
BUG=42904 TEST=bots Review URL: http://codereview.chromium.org/1982001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@46622 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'views/window/window_delegate.cc')
-rw-r--r--views/window/window_delegate.cc7
1 files changed, 1 insertions, 6 deletions
diff --git a/views/window/window_delegate.cc b/views/window/window_delegate.cc
index c909739..012dd38 100644
--- a/views/window/window_delegate.cc
+++ b/views/window/window_delegate.cc
@@ -10,11 +10,10 @@
namespace views {
-WindowDelegate::WindowDelegate() {
+WindowDelegate::WindowDelegate() : window_(NULL) {
}
WindowDelegate::~WindowDelegate() {
- ReleaseWindow();
}
SkBitmap WindowDelegate::GetWindowAppIcon() {
@@ -59,8 +58,4 @@ ClientView* WindowDelegate::CreateClientView(Window* window) {
return new ClientView(window, GetContentsView());
}
-void WindowDelegate::ReleaseWindow() {
- window_.release();
-}
-
} // namespace views