summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjcivelli@chromium.org <jcivelli@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-05-06 04:37:56 +0000
committerjcivelli@chromium.org <jcivelli@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-05-06 04:37:56 +0000
commit03e32def91b569982af74094c51651924d38e70c (patch)
tree8fde3c0d7ee47f3648a4525ed840d53bfecf8544
parentc71abb7a1027a4ef98dd55ac8064ac7aef5aa37d (diff)
downloadchromium_src-03e32def91b569982af74094c51651924d38e70c.zip
chromium_src-03e32def91b569982af74094c51651924d38e70c.tar.gz
chromium_src-03e32def91b569982af74094c51651924d38e70c.tar.bz2
A var was not initialized.
Original review: http://codereview.chromium.org/2016001/show BUG=None TEST=Valgrind bots should be green. Review URL: http://codereview.chromium.org/2025001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@46552 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r--chrome/browser/tab_contents/tab_contents_view_mac.mm3
1 files changed, 2 insertions, 1 deletions
diff --git a/chrome/browser/tab_contents/tab_contents_view_mac.mm b/chrome/browser/tab_contents/tab_contents_view_mac.mm
index 9e8b70d..92cbe2d 100644
--- a/chrome/browser/tab_contents/tab_contents_view_mac.mm
+++ b/chrome/browser/tab_contents/tab_contents_view_mac.mm
@@ -63,7 +63,8 @@ TabContentsView* TabContentsView::Create(TabContents* tab_contents) {
}
TabContentsViewMac::TabContentsViewMac(TabContents* tab_contents)
- : TabContentsView(tab_contents) {
+ : TabContentsView(tab_contents),
+ preferred_width_(0) {
registrar_.Add(this, NotificationType::TAB_CONTENTS_CONNECTED,
Source<TabContents>(tab_contents));
}