| Index: ash/frame/caption_buttons/frame_caption_button_container_view_unittest.cc
|
| diff --git a/ash/frame/caption_buttons/frame_caption_button_container_view_unittest.cc b/ash/frame/caption_buttons/frame_caption_button_container_view_unittest.cc
|
| index c30caff6777c96846c7e3443b053e743d28c8629..fe53880815e0b29192e0768eca5c9dcc58e87767 100644
|
| --- a/ash/frame/caption_buttons/frame_caption_button_container_view_unittest.cc
|
| +++ b/ash/frame/caption_buttons/frame_caption_button_container_view_unittest.cc
|
| @@ -21,16 +21,11 @@ class TestWidgetDelegate : public views::WidgetDelegateView {
|
| public:
|
| TestWidgetDelegate(bool can_maximize, bool can_minimize)
|
| : can_maximize_(can_maximize), can_minimize_(can_minimize) {}
|
| - virtual ~TestWidgetDelegate() {
|
| - }
|
| + ~TestWidgetDelegate() override {}
|
|
|
| - virtual bool CanMaximize() const override {
|
| - return can_maximize_;
|
| - }
|
| + bool CanMaximize() const override { return can_maximize_; }
|
|
|
| - virtual bool CanMinimize() const override {
|
| - return can_minimize_;
|
| - }
|
| + bool CanMinimize() const override { return can_minimize_; }
|
|
|
| private:
|
| bool can_maximize_;
|
| @@ -56,8 +51,7 @@ class FrameCaptionButtonContainerViewTest : public ash::test::AshTestBase {
|
| FrameCaptionButtonContainerViewTest() {
|
| }
|
|
|
| - virtual ~FrameCaptionButtonContainerViewTest() {
|
| - }
|
| + ~FrameCaptionButtonContainerViewTest() override {}
|
|
|
| // Creates a widget which allows maximizing based on |maximize_allowed|.
|
| // The caller takes ownership of the returned widget.
|
|
|