Index: chrome/browser/autocomplete/autocomplete_edit_view_mac.mm |
=================================================================== |
--- chrome/browser/autocomplete/autocomplete_edit_view_mac.mm (revision 26272) |
+++ chrome/browser/autocomplete/autocomplete_edit_view_mac.mm (working copy) |
@@ -157,7 +157,7 @@ |
DCHECK(profile); |
DCHECK(command_updater); |
DCHECK(field); |
- [field_ setDelegate:edit_helper_]; |
+ [field_ setDelegate:edit_helper_.get()]; |
// Needed so that editing doesn't lose the styling. |
[field_ setAllowsEditingTextAttributes:YES]; |