Index: base/mac/scoped_sending_event_unittest.mm |
diff --git a/base/mac/scoped_sending_event_unittest.mm b/base/mac/scoped_sending_event_unittest.mm |
index 95f6eba16ab4304bd5a23a81062971c371094d1a..02ef2dbe29291ac495f706c613e84b03efe96548 100644 |
--- a/base/mac/scoped_sending_event_unittest.mm |
+++ b/base/mac/scoped_sending_event_unittest.mm |
@@ -27,9 +27,7 @@ class ScopedSendingEventTest : public testing::Test { |
ScopedSendingEventTest() : app_([[ScopedSendingEventTestCrApp alloc] init]) { |
NSApp = app_.get(); |
} |
- virtual ~ScopedSendingEventTest() { |
- NSApp = nil; |
- } |
+ ~ScopedSendingEventTest() override { NSApp = nil; } |
private: |
base::scoped_nsobject<ScopedSendingEventTestCrApp> app_; |