summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordbeam@chromium.org <dbeam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-04-08 20:54:43 +0000
committerdbeam@chromium.org <dbeam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-04-08 20:54:43 +0000
commit7a969b5d8cc22356b3b62b53a069be63d188c1b7 (patch)
treef634703c54188277e1d91cdd96b9281b4d97829d
parent1168f702d34f1026262e82488b7b630fe6d0b584 (diff)
downloadchromium_src-7a969b5d8cc22356b3b62b53a069be63d188c1b7.zip
chromium_src-7a969b5d8cc22356b3b62b53a069be63d188c1b7.tar.gz
chromium_src-7a969b5d8cc22356b3b62b53a069be63d188c1b7.tar.bz2
Merge 192667 "Fix uninitialized POD member |use_custom_insets_| ..."
> Fix uninitialized POD member |use_custom_insets_| to fix regression and coverity > issue somewhere (I'm sure). > > R=sky@chromium.org > BUG=224259 > > > Review URL: https://chromiumcodereview.appspot.com/13533021 TBR=dbeam@chromium.org Review URL: https://codereview.chromium.org/13633005 git-svn-id: svn://svn.chromium.org/chrome/branches/1453/src@192888 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r--ui/views/controls/button/checkbox.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/ui/views/controls/button/checkbox.h b/ui/views/controls/button/checkbox.h
index 08d2c33..0d48ced 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