Index: chrome/browser/ui/cocoa/autofill/autofill_details_container.mm |
diff --git a/chrome/browser/ui/cocoa/autofill/autofill_details_container.mm b/chrome/browser/ui/cocoa/autofill/autofill_details_container.mm |
index 3adf3ce0d62a305e1970e3b9dbce5838b61a4651..ee1dbf668890f0c68687fb3c18f3b3b84ed8ef38 100644 |
--- a/chrome/browser/ui/cocoa/autofill/autofill_details_container.mm |
+++ b/chrome/browser/ui/cocoa/autofill/autofill_details_container.mm |
@@ -144,6 +144,10 @@ SkColor const kWarningColor = 0xffde4932; // SkColorSetRGB(0xde, 0x49, 0x32); |
return [[errorBubble_ superview] convertPoint:bubbleOrigin fromView:nil]; |
} |
+- (void)hideErrorBubble { |
+ [errorBubble_ setHidden:YES]; |
+} |
+ |
- (void)updateMessageForField:(NSControl<AutofillInputField>*)field { |
// Ignore fields that are not first responder. Testing this is a bit |
// convoluted, since for NSTextFields with firstResponder status, the |