summaryrefslogtreecommitdiffstats
path: root/chrome/views/controls
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/views/controls')
-rw-r--r--chrome/views/controls/button/checkbox.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/chrome/views/controls/button/checkbox.cc b/chrome/views/controls/button/checkbox.cc
index 032a1aa..a67dbd4 100644
--- a/chrome/views/controls/button/checkbox.cc
+++ b/chrome/views/controls/button/checkbox.cc
@@ -40,7 +40,8 @@ void Checkbox::SetChecked(bool checked) {
if (checked_ == checked)
return;
checked_ = checked;
- native_wrapper_->UpdateChecked();
+ if (native_wrapper_)
+ native_wrapper_->UpdateChecked();
}
// static