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

Unified Diff: ios/chrome/browser/ui/bookmarks/undo_manager_wrapper.mm

Issue 2746473003: [ObjC ARC] Converts ios/chrome/browser/ui/bookmarks:bookmarks to ARC. (Closed)
Patch Set: fix test 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
« no previous file with comments | « ios/chrome/browser/ui/bookmarks/undo_manager_bridge_observer.mm ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/chrome/browser/ui/bookmarks/undo_manager_wrapper.mm
diff --git a/ios/chrome/browser/ui/bookmarks/undo_manager_wrapper.mm b/ios/chrome/browser/ui/bookmarks/undo_manager_wrapper.mm
index 2dbe79f6d227f536e1b441fde063dc10e903e2c3..e99489d93d106d251e629a0b684b5793d3c14fb4 100644
--- a/ios/chrome/browser/ui/bookmarks/undo_manager_wrapper.mm
+++ b/ios/chrome/browser/ui/bookmarks/undo_manager_wrapper.mm
@@ -12,6 +12,10 @@
#include "ios/chrome/browser/ui/bookmarks/undo_manager_bridge_observer.h"
#include "ios/chrome/browser/undo/bookmark_undo_service_factory.h"
+#if !defined(__has_feature) || !__has_feature(objc_arc)
+#error "This file requires ARC support."
+#endif
+
@interface UndoManagerWrapper ()<UndoManagerBridgeObserver> {
std::unique_ptr<bookmarks::UndoManagerBridge> _bridge;
}
@@ -42,7 +46,6 @@
- (void)dealloc {
_undoManager->RemoveObserver(_bridge.get());
- [super dealloc];
}
#pragma mark - Public Methods
« no previous file with comments | « ios/chrome/browser/ui/bookmarks/undo_manager_bridge_observer.mm ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698