Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2741)

Unified Diff: base/mac/scoped_sending_event_unittest.mm

Issue 851503003: Update from https://crrev.com/311076 (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « base/mac/mach_logging.h ('k') | base/memory/discardable_shared_memory.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_;
« no previous file with comments | « base/mac/mach_logging.h ('k') | base/memory/discardable_shared_memory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698