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

Unified Diff: ios/web/public/test/fakes/test_native_content.mm

Issue 2922973004: [ObjC ARC] Converts ios/web/public/test/fakes:fakes to ARC. (Closed)
Patch Set: scoped_nsobject in .h Created 3 years, 6 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/web/public/test/fakes/test_native_content.mm
diff --git a/ios/web/public/test/fakes/test_native_content.mm b/ios/web/public/test/fakes/test_native_content.mm
index a3c1e76d7cc0ac2e899aeceb42dad0cb58020f57..094554325589a93e4a10c8a622c3ba2f4897786c 100644
--- a/ios/web/public/test/fakes/test_native_content.mm
+++ b/ios/web/public/test/fakes/test_native_content.mm
@@ -4,12 +4,14 @@
#import "ios/web/public/test/fakes/test_native_content.h"
-#import "base/mac/scoped_nsobject.h"
+#if !defined(__has_feature) || !__has_feature(objc_arc)
+#error "This file requires ARC support."
+#endif
@implementation TestNativeContent {
GURL _URL;
GURL _virtualURL;
- base::scoped_nsobject<UIView> _view;
+ UIView* _view;
}
- (instancetype)initWithURL:(const GURL&)URL
virtualURL:(const GURL&)virtualURL {

Powered by Google App Engine
This is Rietveld 408576698