summaryrefslogtreecommitdiffstats
path: root/views
diff options
context:
space:
mode:
authorben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-06-02 22:56:54 +0000
committerben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-06-02 22:56:54 +0000
commit7e7b94a4086babab96393c6e2b774cf23bc6def0 (patch)
tree1e0bf9bf479ef03786598ea119e84f3f087d4c2e /views
parent65419994b88d290748fb75ea58ec3cee57e50a5f (diff)
downloadchromium_src-7e7b94a4086babab96393c6e2b774cf23bc6def0.zip
chromium_src-7e7b94a4086babab96393c6e2b774cf23bc6def0.tar.gz
chromium_src-7e7b94a4086babab96393c6e2b774cf23bc6def0.tar.bz2
Properly initialize the native wrapper to NULL to avoid a crash. Also re-enables tests I disabled last night when trying to find this.
http://crbug.com/13200 TEST=Start chrome with --first-run. Review URL: http://codereview.chromium.org/118136 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17440 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'views')
-rw-r--r--views/controls/separator.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/views/controls/separator.cc b/views/controls/separator.cc
index 0e468d9..8c9edce 100644
--- a/views/controls/separator.cc
+++ b/views/controls/separator.cc
@@ -57,7 +57,7 @@ const char Separator::kViewClassName[] = "views/Separator";
const int kSeparatorSize = 2;
-Separator::Separator() {
+Separator::Separator() : native_wrapper_(NULL) {
SetFocusable(false);
}