summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--chrome/browser/chromeos/status/power_menu_button.h2
-rw-r--r--views/controls/slider/slider.h8
2 files changed, 5 insertions, 5 deletions
diff --git a/chrome/browser/chromeos/status/power_menu_button.h b/chrome/browser/chromeos/status/power_menu_button.h
index 8cff5f1..15601bc 100644
--- a/chrome/browser/chromeos/status/power_menu_button.h
+++ b/chrome/browser/chromeos/status/power_menu_button.h
@@ -46,7 +46,7 @@ class PowerMenuButton : public StatusAreaButton,
// PowerLibrary::Observer implementation.
virtual void PowerChanged(PowerLibrary* obj);
- const int icon_id() const { return icon_id_; }
+ int icon_id() const { return icon_id_; }
protected:
// StatusAreaButton implementation.
diff --git a/views/controls/slider/slider.h b/views/controls/slider/slider.h
index 00079c4..531ef05 100644
--- a/views/controls/slider/slider.h
+++ b/views/controls/slider/slider.h
@@ -51,20 +51,20 @@ class Slider : public View {
virtual void NotifyValueChanged();
// Gets/Sets the value in the slider.
- const double value() const { return value_; }
+ double value() const { return value_; }
void SetValue(double value);
// Accessor for |style_|.
StyleFlags style() const { return style_; }
// Accessor for |min_|.
- const double min() const { return min_; }
+ double min() const { return min_; }
// Accessor for |max_|.
- const double max() const { return max_; }
+ double max() const { return max_; }
// Accessor for |step_|.
- const double step() const { return step_; }
+ double step() const { return step_; }
// Overridden from View:
virtual void Layout();