Commit 46ba0652 authored by dbeam@chromium.org's avatar dbeam@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@192667 0039d316-1c4b-4281-b951-d872f2087c98
parent 622618f6
...@@ -18,7 +18,8 @@ class VIEWS_EXPORT CheckboxNativeThemeBorder ...@@ -18,7 +18,8 @@ class VIEWS_EXPORT CheckboxNativeThemeBorder
: public TextButtonNativeThemeBorder { : public TextButtonNativeThemeBorder {
public: public:
explicit CheckboxNativeThemeBorder(views::NativeThemeDelegate* delegate) explicit CheckboxNativeThemeBorder(views::NativeThemeDelegate* delegate)
: TextButtonNativeThemeBorder(delegate) {} : TextButtonNativeThemeBorder(delegate),
use_custom_insets_(false) {}
virtual ~CheckboxNativeThemeBorder() {} virtual ~CheckboxNativeThemeBorder() {}
// The insets apply to the whole view (checkbox + text), not just the square // The insets apply to the whole view (checkbox + text), not just the square
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment