From f3c942681ca698dada82a0293dc07fd4f2e6fb98 Mon Sep 17 00:00:00 2001 From: "mukai@chromium.org" Date: Sat, 15 Dec 2012 03:31:59 +0000 Subject: 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 --- ui/message_center/base_format_view.cc | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'ui/message_center/base_format_view.cc') 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() { -- cgit v1.1