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

Unified Diff: ios/web/public/test/scoped_testing_web_client.mm

Issue 2920303003: [ObjC ARC] Converts ios/web/public/test:test to ARC. (Closed)
Patch Set: unsafe_unretained 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/scoped_testing_web_client.mm
diff --git a/ios/web/public/test/scoped_testing_web_client.mm b/ios/web/public/test/scoped_testing_web_client.mm
index 98807ea98fead787b3e150ffea24767ec1973d0d..2c883f84aaa8eab81fb0fe5cb9add01102906bdd 100644
--- a/ios/web/public/test/scoped_testing_web_client.mm
+++ b/ios/web/public/test/scoped_testing_web_client.mm
@@ -7,6 +7,10 @@
#include "base/logging.h"
#import "ios/web/public/web_client.h"
+#if !defined(__has_feature) || !__has_feature(objc_arc)
+#error "This file requires ARC support."
+#endif
+
namespace web {
ScopedTestingWebClient::ScopedTestingWebClient(

Powered by Google App Engine
This is Rietveld 408576698