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_; |
}; |