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

Unified Diff: ios/chrome/browser/ui/omnibox/page_info_view_controller.h

Issue 2707963002: [ObjC ARC] Converts ios/chrome/browser/ui/omnibox:omnibox_internal to ARC. (Closed)
Patch Set: weaks Created 3 years, 10 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/ui/omnibox/page_info_view_controller.h
diff --git a/ios/chrome/browser/ui/omnibox/page_info_view_controller.h b/ios/chrome/browser/ui/omnibox/page_info_view_controller.h
index 8965ea21233bf5886d7526f7682ab921893fa0eb..f8eb05987cd50103303e8cf3e4cc4a4e6bfec655 100644
--- a/ios/chrome/browser/ui/omnibox/page_info_view_controller.h
+++ b/ios/chrome/browser/ui/omnibox/page_info_view_controller.h
@@ -57,8 +57,7 @@ class PageInfoModelBubbleBridge : public PageInfoModelObserver {
// If the window is animating closed when this is called, the
// animation could be holding the last reference to |controller_|
// (and thus |this|). Pin it until the task is completed.
- base::scoped_nsobject<PageInfoViewController> keep_alive(
- [controller_ retain]);
+ base::scoped_nsobject<PageInfoViewController> keep_alive(controller_);
[controller_ performLayout];
}

Powered by Google App Engine
This is Rietveld 408576698