Use scoped_nsobject to ensure our intermediate objects get cleaned up.
This commit is contained in:
parent
7b207aa1b6
commit
b2fb95f857
4 changed files with 10 additions and 9 deletions
|
@ -3,12 +3,13 @@
|
|||
// found in the LICENSE file.
|
||||
|
||||
#import "base/mac/scoped_sending_event.h"
|
||||
#import "base/mac/scoped_nsobject.h"
|
||||
|
||||
@interface AtomApplication : NSApplication<CrAppProtocol,
|
||||
CrAppControlProtocol> {
|
||||
@private
|
||||
BOOL handlingSendEvent_;
|
||||
NSUserActivity* currentActivity_;
|
||||
base::scoped_nsobject<NSUserActivity> currentActivity_;
|
||||
}
|
||||
|
||||
+ (AtomApplication*)sharedApplication;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue