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

Unified Diff: ui/views/controls/button/checkbox.h

Issue 13533021: Fix uninitialized POD member |use_custom_insets_| to fix regression and coverity (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 7 years, 8 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/controls/button/checkbox.h
diff --git a/ui/views/controls/button/checkbox.h b/ui/views/controls/button/checkbox.h
index 08d2c338d98db735a0e2882303011ad161f2f01d..0d48cedca48a1e45b818d8b8c958e5b18c40c13d 100644
--- a/ui/views/controls/button/checkbox.h
+++ b/ui/views/controls/button/checkbox.h
@@ -18,7 +18,8 @@ class VIEWS_EXPORT CheckboxNativeThemeBorder
: public TextButtonNativeThemeBorder {
public:
explicit CheckboxNativeThemeBorder(views::NativeThemeDelegate* delegate)
- : TextButtonNativeThemeBorder(delegate) {}
+ : TextButtonNativeThemeBorder(delegate),
+ use_custom_insets_(false) {}
virtual ~CheckboxNativeThemeBorder() {}
// The insets apply to the whole view (checkbox + text), not just the square
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698