Index: chrome/browser/ui/cocoa/location_bar/autocomplete_text_field_editor.mm |
diff --git a/chrome/browser/ui/cocoa/location_bar/autocomplete_text_field_editor.mm b/chrome/browser/ui/cocoa/location_bar/autocomplete_text_field_editor.mm |
index 83126cf2e5eee10622c834fac7b0c7ca7142aed2..3f0aad34ebe5ecfe13a6cfefb564a9e7c860a3e9 100644 |
--- a/chrome/browser/ui/cocoa/location_bar/autocomplete_text_field_editor.mm |
+++ b/chrome/browser/ui/cocoa/location_bar/autocomplete_text_field_editor.mm |
@@ -324,8 +324,8 @@ BOOL ThePasteboardIsTooDamnBig() { |
// responder dance between the field and the field editor is a little |
// weird.) |
[[BrowserWindowController browserWindowControllerForView:field] |
- lockBarVisibilityForOwner:field |
- withAnimation:YES]; |
+ lockToolbarVisibilityForOwner:field |
+ withAnimation:YES]; |
} |
return doAccept; |
} |
@@ -338,8 +338,8 @@ BOOL ThePasteboardIsTooDamnBig() { |
if (doResign && field) { |
// Give the text field ownership of the visibility lock. |
[[BrowserWindowController browserWindowControllerForView:field] |
- releaseBarVisibilityForOwner:field |
- withAnimation:YES]; |
+ releaseToolbarVisibilityForOwner:field |
+ withAnimation:YES]; |
AutocompleteTextFieldObserver* observer = [self observer]; |
if (observer) |