Index: ui/views/widget/widget.cc |
diff --git a/ui/views/widget/widget.cc b/ui/views/widget/widget.cc |
index 52209f878a6b085057612ef081929f51ba13bd0e..8469f6d87ebe5f8a2adf893c206d26803e04c735 100644 |
--- a/ui/views/widget/widget.cc |
+++ b/ui/views/widget/widget.cc |
@@ -74,16 +74,16 @@ class DefaultWidgetDelegate : public WidgetDelegate { |
virtual ~DefaultWidgetDelegate() {} |
// Overridden from WidgetDelegate: |
- virtual void DeleteDelegate() OVERRIDE { |
+ virtual void DeleteDelegate() override { |
delete this; |
} |
- virtual Widget* GetWidget() OVERRIDE { |
+ virtual Widget* GetWidget() override { |
return widget_; |
} |
- virtual const Widget* GetWidget() const OVERRIDE { |
+ virtual const Widget* GetWidget() const override { |
return widget_; |
} |
- virtual bool ShouldAdvanceFocusToTopLevelWidget() const OVERRIDE { |
+ virtual bool ShouldAdvanceFocusToTopLevelWidget() const override { |
// In most situations where a Widget is used without a delegate the Widget |
// is used as a container, so that we want focus to advance to the top-level |
// widget. A good example of this is the find bar. |