Index: ui/views/controls/styled_label.h |
diff --git a/ui/views/controls/styled_label.h b/ui/views/controls/styled_label.h |
index 8382b8ea0679c81f49d472f63a26186141392b67..af572f95f55c4da47ac969956a1171183ffba291 100644 |
--- a/ui/views/controls/styled_label.h |
+++ b/ui/views/controls/styled_label.h |
@@ -56,7 +56,7 @@ class VIEWS_EXPORT StyledLabel : public View, public LinkListener { |
// Note that any trailing whitespace in |text| will be trimmed. |
StyledLabel(const base::string16& text, StyledLabelListener* listener); |
- virtual ~StyledLabel(); |
+ ~StyledLabel() override; |
// Sets the text to be displayed, and clears any previous styling. |
void SetText(const base::string16& text); |
@@ -91,13 +91,13 @@ class VIEWS_EXPORT StyledLabel : public View, public LinkListener { |
} |
// View implementation: |
- virtual gfx::Insets GetInsets() const override; |
- virtual int GetHeightForWidth(int w) const override; |
- virtual void Layout() override; |
- virtual void PreferredSizeChanged() override; |
+ gfx::Insets GetInsets() const override; |
+ int GetHeightForWidth(int w) const override; |
+ void Layout() override; |
+ void PreferredSizeChanged() override; |
// LinkListener implementation: |
- virtual void LinkClicked(Link* source, int event_flags) override; |
+ void LinkClicked(Link* source, int event_flags) override; |
private: |
struct StyleRange { |