Index: views/controls/progress_bar.cc |
diff --git a/views/controls/progress_bar.cc b/views/controls/progress_bar.cc |
index b8353b640b82d0e39e87c5e6caacaf46695d44af..15c8bd2ba7d0ff205cf127c8e1fc32c42871391e 100644 |
--- a/views/controls/progress_bar.cc |
+++ b/views/controls/progress_bar.cc |
@@ -304,10 +304,8 @@ bool ProgressBar::GetTooltipText(const gfx::Point& p, std::wstring* tooltip) { |
return !tooltip_text_.empty(); |
} |
-void ProgressBar::SetEnabled(bool enabled) { |
- if (enabled == enabled_) |
- return; |
- View::SetEnabled(enabled); |
+void ProgressBar::OnEnabledChanged() { |
+ View::OnEnabledChanged(); |
// TODO(denisromanov): Need to switch progress bar color here? |
} |