| Index: chrome/browser/ui/cocoa/validation_message_bubble_cocoa.mm
|
| diff --git a/chrome/browser/ui/cocoa/validation_message_bubble_cocoa.mm b/chrome/browser/ui/cocoa/validation_message_bubble_cocoa.mm
|
| index 65932a292f83f10a7945ef1444a660c87c2343ea..f5e58920f125ca7c9b748644b71bd82801ad6ae9 100644
|
| --- a/chrome/browser/ui/cocoa/validation_message_bubble_cocoa.mm
|
| +++ b/chrome/browser/ui/cocoa/validation_message_bubble_cocoa.mm
|
| @@ -167,12 +167,15 @@ ValidationMessageBubbleCocoa::ValidationMessageBubbleCocoa(
|
| subText:sub_text] retain]);
|
| }
|
|
|
| -ValidationMessageBubbleCocoa::~ValidationMessageBubbleCocoa() {
|
| - [controller_ close];
|
| -}
|
| +ValidationMessageBubbleCocoa::~ValidationMessageBubbleCocoa() {}
|
|
|
| void ValidationMessageBubbleCocoa::SetPositionRelativeToAnchor(
|
| content::RenderWidgetHost* widget_host,
|
| const gfx::Rect& anchor_in_root_view) {
|
| [controller_ setAnchorPoint:GetAnchorPoint(widget_host, anchor_in_root_view)];
|
| }
|
| +
|
| +void ValidationMessageBubbleCocoa::CloseValidationMessage() {
|
| + [controller_ close];
|
| + delete this;
|
| +}
|
|
|