summaryrefslogtreecommitdiffstats
path: root/ui/message_center/base_format_view.cc
diff options
context:
space:
mode:
authormukai@chromium.org <mukai@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-12-15 03:31:59 +0000
committermukai@chromium.org <mukai@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-12-15 03:31:59 +0000
commitf3c942681ca698dada82a0293dc07fd4f2e6fb98 (patch)
treec42fd90d506e4b451a3d8cff508bdc5bd56573ad /ui/message_center/base_format_view.cc
parent16d4306b9953e89ef14210f6301b806ad5792b7c (diff)
downloadchromium_src-f3c942681ca698dada82a0293dc07fd4f2e6fb98.zip
chromium_src-f3c942681ca698dada82a0293dc07fd4f2e6fb98.tar.gz
chromium_src-f3c942681ca698dada82a0293dc07fd4f2e6fb98.tar.bz2
Set NULL to button_one_ and _two_ at ctor of BaseMessageView.
BUG=none TBR=miket@chromium.org Review URL: https://codereview.chromium.org/11568053 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@173268 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ui/message_center/base_format_view.cc')
-rw-r--r--ui/message_center/base_format_view.cc7
1 files changed, 3 insertions, 4 deletions
diff --git a/ui/message_center/base_format_view.cc b/ui/message_center/base_format_view.cc
index e7e77f9..aff72a1 100644
--- a/ui/message_center/base_format_view.cc
+++ b/ui/message_center/base_format_view.cc
@@ -28,10 +28,9 @@ const int kBaseFormatOuterHorizontalPadding = 18;
BaseFormatView::BaseFormatView(
NotificationList::Delegate* list_delegate,
const NotificationList::Notification& notification)
- : MessageView(list_delegate, notification) {
-}
-
-BaseFormatView::BaseFormatView() {
+ : MessageView(list_delegate, notification),
+ button_one_(NULL),
+ button_two_(NULL) {
}
BaseFormatView::~BaseFormatView() {