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

Unified Diff: ios/web_view/internal/translate/cwv_translate_manager_impl.mm

Issue 2762023003: Enable ARC for //ios/web_view/internal/translate/*.m. (Closed)
Patch Set: Apply review comments. Created 3 years, 9 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_view/internal/translate/cwv_translate_manager_impl.mm
diff --git a/ios/web_view/internal/translate/cwv_translate_manager_impl.mm b/ios/web_view/internal/translate/cwv_translate_manager_impl.mm
index 25e60df8669064ef8b4ab5852cf2bef9c00551a1..1f087aa203564411dd1f12f1fb85de189e71db60 100644
--- a/ios/web_view/internal/translate/cwv_translate_manager_impl.mm
+++ b/ios/web_view/internal/translate/cwv_translate_manager_impl.mm
@@ -9,6 +9,10 @@
#include "components/translate/core/browser/translate_manager.h"
#include "components/translate/core/browser/translate_ui_delegate.h"
+#if !defined(__has_feature) || !__has_feature(objc_arc)
+#error "This file requires ARC support."
+#endif
+
@implementation CWVTranslateManagerImpl {
std::unique_ptr<translate::TranslateUIDelegate> _translateUIDelegate;
}
« no previous file with comments | « ios/web_view/internal/translate/BUILD.gn ('k') | ios/web_view/internal/translate/web_view_translate_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698