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

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

Issue 2707963002: [ObjC ARC] Converts ios/chrome/browser/ui/omnibox:omnibox_internal to ARC. (Closed)
Patch Set: ARC in new code 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/chrome/browser/ui/omnibox/location_bar_view_ios.h
diff --git a/ios/chrome/browser/ui/omnibox/location_bar_view_ios.h b/ios/chrome/browser/ui/omnibox/location_bar_view_ios.h
index 4f47c1709b8694e7399d9bcc5fee0a9609df32b5..9e583feb7000339d15afa0b24d0734a2b383f56d 100644
--- a/ios/chrome/browser/ui/omnibox/location_bar_view_ios.h
+++ b/ios/chrome/browser/ui/omnibox/location_bar_view_ios.h
@@ -109,8 +109,10 @@ class LocationBarViewIOS : public WebOmniboxEditController {
base::scoped_nsobject<UIButton> clear_text_button_;
std::unique_ptr<OmniboxViewIOS> edit_view_;
base::scoped_nsobject<OmniboxClearButtonBridge> clear_button_bridge_;
- OmniboxTextFieldIOS* field_;
- id<LocationBarDelegate> delegate_;
+ // |field_| should be __weak but is included from non-ARC code.
+ __unsafe_unretained OmniboxTextFieldIOS* field_;
+ // |delegate_| should be __weak but is included from non-ARC code.
+ __unsafe_unretained id<LocationBarDelegate> delegate_;
bool is_showing_placeholder_while_collapsed_;
};
« no previous file with comments | « ios/chrome/browser/ui/omnibox/chrome_omnibox_client_ios.mm ('k') | ios/chrome/browser/ui/omnibox/location_bar_view_ios.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698