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

Unified Diff: ios/chrome/browser/payments/payment_request_error_view_controller_unittest.mm

Issue 2806323003: [ObjC ARC] Converts ios/chrome/browser/ui/settings:unit_tests to ARC. (Closed)
Patch Set: rebase 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/chrome/browser/payments/payment_request_error_view_controller_unittest.mm
diff --git a/ios/chrome/browser/payments/payment_request_error_view_controller_unittest.mm b/ios/chrome/browser/payments/payment_request_error_view_controller_unittest.mm
index 962ee8232a3d8530578417f342ec9602459b9e2e..4cc26753beb78e23184d4893214842ee17ab2b1e 100644
--- a/ios/chrome/browser/payments/payment_request_error_view_controller_unittest.mm
+++ b/ios/chrome/browser/payments/payment_request_error_view_controller_unittest.mm
@@ -11,10 +11,14 @@
#include "ios/chrome/grit/ios_strings.h"
#include "testing/gtest/include/gtest/gtest.h"
+#if !defined(__has_feature) || !__has_feature(objc_arc)
+#error "This file requires ARC support."
+#endif
+
class PaymentRequestErrorViewControllerTest
: public CollectionViewControllerTest {
protected:
- CollectionViewController* NewController() override NS_RETURNS_RETAINED {
+ CollectionViewController* InstantiateController() override {
return [[PaymentRequestErrorViewController alloc] init];
}

Powered by Google App Engine
This is Rietveld 408576698