chore: cleanup arc migration helpers (#39606)

This commit is contained in:
Shelley Vohr 2023-08-23 15:54:21 +02:00 committed by GitHub
parent ddc7e3ebb3
commit 522bba3dc6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
25 changed files with 52 additions and 172 deletions

View file

@ -10,10 +10,6 @@
#include "base/strings/sys_string_conversions.h"
#include "base/values.h"
#if !defined(__has_feature) || !__has_feature(objc_arc)
#error "This file requires ARC support."
#endif
namespace electron {
NSArray* ListValueToNSArray(const base::Value::List& value) {

View file

@ -11,10 +11,6 @@
#import <AVFoundation/AVFoundation.h>
#import <LocalAuthentication/LocalAuthentication.h>
#if !defined(__has_feature) || !__has_feature(objc_arc)
#error "This file requires ARC support."
#endif
@interface AtomApplication : NSApplication <CrAppProtocol,
CrAppControlProtocol,
NSUserActivityDelegate> {

View file

@ -19,10 +19,6 @@
#import <UserNotifications/UserNotifications.h>
#if !defined(__has_feature) || !__has_feature(objc_arc)
#error "This file requires ARC support."
#endif
static NSDictionary* UNNotificationResponseToNSDictionary(
UNNotificationResponse* response) {
if (![response respondsToSelector:@selector(actionIdentifier)] ||