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

Unified Diff: ios/public/provider/chrome/browser/voice/voice_search_language.mm

Issue 2847863005: [ObjC ARC] Converts ios/public/provider/chrome/browser/voice:voice to ARC. (Closed)
Patch Set: remove empty braces Created 3 years, 8 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
Index: ios/public/provider/chrome/browser/voice/voice_search_language.mm
diff --git a/ios/public/provider/chrome/browser/voice/voice_search_language.mm b/ios/public/provider/chrome/browser/voice/voice_search_language.mm
index 549076021940c5b4f0c0ef6c93c384a0fab4edb1..0d2f7d2a313c38b019c16468fd031b4914bc1363 100644
--- a/ios/public/provider/chrome/browser/voice/voice_search_language.mm
+++ b/ios/public/provider/chrome/browser/voice/voice_search_language.mm
@@ -4,11 +4,11 @@
#import "ios/public/provider/chrome/browser/voice/voice_search_language.h"
-#include "base/mac/objc_property_releaser.h"
+#if !defined(__has_feature) || !__has_feature(objc_arc)
+#error "This file requires ARC support."
+#endif
-@implementation VoiceSearchLanguage {
- base::mac::ObjCPropertyReleaser _propertyReleaser_VoiceSearchLanguage;
-}
+@implementation VoiceSearchLanguage
@synthesize identifier = _identifier;
@synthesize displayName = _displayName;
@@ -21,9 +21,6 @@
_identifier = [identifier copy];
_displayName = [displayName copy];
_localizationPreference = [localizationPreference copy];
-
- _propertyReleaser_VoiceSearchLanguage.Init(self,
- [VoiceSearchLanguage class]);
}
return self;
}

Powered by Google App Engine
This is Rietveld 408576698