summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorevan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-03-26 23:06:41 +0000
committerevan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-03-26 23:06:41 +0000
commitb9fadcecd99459d101be36a17b2607e0595f23e4 (patch)
tree2f3efe307712030acaefeed154b7e8232d64fe31
parent7879f719399152a9802d2fc0c82d7d1a8e38aa4f (diff)
downloadchromium_src-b9fadcecd99459d101be36a17b2607e0595f23e4.zip
chromium_src-b9fadcecd99459d101be36a17b2607e0595f23e4.tar.gz
chromium_src-b9fadcecd99459d101be36a17b2607e0595f23e4.tar.bz2
Fix unintialized variable (only affected unit test).
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12613 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r--chrome/browser/tab_contents/web_contents_view_gtk.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/chrome/browser/tab_contents/web_contents_view_gtk.cc b/chrome/browser/tab_contents/web_contents_view_gtk.cc
index a35277a..3c58613 100644
--- a/chrome/browser/tab_contents/web_contents_view_gtk.cc
+++ b/chrome/browser/tab_contents/web_contents_view_gtk.cc
@@ -66,7 +66,8 @@ WebContentsView* WebContentsView::Create(WebContents* web_contents) {
WebContentsViewGtk::WebContentsViewGtk(WebContents* web_contents)
: WebContentsView(web_contents),
- vbox_(gtk_vbox_new(FALSE, 0)) {
+ vbox_(gtk_vbox_new(FALSE, 0)),
+ content_view_(NULL) {
}
WebContentsViewGtk::~WebContentsViewGtk() {