diff options
author | jhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-03-22 00:49:28 +0000 |
---|---|---|
committer | jhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-03-22 00:49:28 +0000 |
commit | d41925fefcbe5059a1a15ae09dd42560c93d064b (patch) | |
tree | 98dfbe7d5a635b7f826cfef02286d56af014b431 /chrome/browser/notifications | |
parent | de0408ef7af8e2ab307b2b6c8710be511e4d406a (diff) | |
download | chromium_src-d41925fefcbe5059a1a15ae09dd42560c93d064b.zip chromium_src-d41925fefcbe5059a1a15ae09dd42560c93d064b.tar.gz chromium_src-d41925fefcbe5059a1a15ae09dd42560c93d064b.tar.bz2 |
Coverity: Initialize member variables.
CID=13976,14295,14318,14364,14645,15304,15305,15431,15728,15762
BUG=none
TEST=none
R=csilv@chromium.org
Review URL: http://codereview.chromium.org/6675008
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@78951 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/notifications')
-rw-r--r-- | chrome/browser/notifications/balloon_collection_impl.cc | 4 | ||||
-rw-r--r-- | chrome/browser/notifications/balloon_collection_impl.h | 3 |
2 files changed, 4 insertions, 3 deletions
diff --git a/chrome/browser/notifications/balloon_collection_impl.cc b/chrome/browser/notifications/balloon_collection_impl.cc index f133de3..846bd96 100644 --- a/chrome/browser/notifications/balloon_collection_impl.cc +++ b/chrome/browser/notifications/balloon_collection_impl.cc @@ -1,4 +1,4 @@ -// Copyright (c) 2010 The Chromium Authors. All rights reserved. +// Copyright (c) 2011 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. @@ -230,7 +230,7 @@ void BalloonCollectionImpl::HandleMouseMoveEvent() { } #endif -BalloonCollectionImpl::Layout::Layout() { +BalloonCollectionImpl::Layout::Layout() : placement_(INVALID) { RefreshSystemMetrics(); } diff --git a/chrome/browser/notifications/balloon_collection_impl.h b/chrome/browser/notifications/balloon_collection_impl.h index fdabcb5..8a234e2 100644 --- a/chrome/browser/notifications/balloon_collection_impl.h +++ b/chrome/browser/notifications/balloon_collection_impl.h @@ -1,4 +1,4 @@ -// Copyright (c) 2010 The Chromium Authors. All rights reserved. +// Copyright (c) 2011 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. @@ -72,6 +72,7 @@ class BalloonCollectionImpl : public BalloonCollection // These enumerations all are based on a screen orientation where // the origin is the top-left. enum Placement { + INVALID, VERTICALLY_FROM_TOP_LEFT, VERTICALLY_FROM_TOP_RIGHT, VERTICALLY_FROM_BOTTOM_LEFT, |