Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(339)

Unified Diff: views/controls/separator.cc

Issue 118136: Properly initialize the native wrapper to NULL to avoid a crash. Also re-enab... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/test/mini_installer_test/test.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: views/controls/separator.cc
===================================================================
--- views/controls/separator.cc (revision 17408)
+++ views/controls/separator.cc (working copy)
@@ -57,7 +57,7 @@
const int kSeparatorSize = 2;
-Separator::Separator() {
+Separator::Separator() : native_wrapper_(NULL) {
SetFocusable(false);
}
« no previous file with comments | « chrome/test/mini_installer_test/test.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698