Index: chrome/browser/ui/cocoa/find_bar/find_bar_cocoa_controller.mm |
diff --git a/chrome/browser/ui/cocoa/find_bar/find_bar_cocoa_controller.mm b/chrome/browser/ui/cocoa/find_bar/find_bar_cocoa_controller.mm |
index 70013f041d886eb5aa94239a9046d75455f96ab7..22c5209a0cc98ef37db59589643dc6dab1c1b086 100644 |
--- a/chrome/browser/ui/cocoa/find_bar/find_bar_cocoa_controller.mm |
+++ b/chrome/browser/ui/cocoa/find_bar/find_bar_cocoa_controller.mm |
@@ -362,11 +362,6 @@ const int kMaxCharacters = 4000; |
- (void)setFocusAndSelection { |
[[findText_ window] makeFirstResponder:findText_]; |
- |
- // Enable the buttons if the find text is non-empty. |
rohitrao (ping after 24h)
2017/06/26 13:20:15
Here's a case that appears to have regressed with
|
- BOOL buttonsEnabled = ([[findText_ stringValue] length] > 0) ? YES : NO; |
rohitrao (ping after 24h)
2017/06/26 13:20:15
So it seems that this function is called from at l
carloschilazo
2017/06/28 22:50:22
Thanks for looking into it Rohit! I agree, we need
|
- [previousButton_ setEnabled:buttonsEnabled]; |
- [nextButton_ setEnabled:buttonsEnabled]; |
} |
- (void)restoreSavedFocus { |