summaryrefslogtreecommitdiffstats
path: root/chrome/browser/cocoa/autocomplete_text_field.mm
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/cocoa/autocomplete_text_field.mm')
-rw-r--r--chrome/browser/cocoa/autocomplete_text_field.mm8
1 files changed, 4 insertions, 4 deletions
diff --git a/chrome/browser/cocoa/autocomplete_text_field.mm b/chrome/browser/cocoa/autocomplete_text_field.mm
index 91ac998..0b17415 100644
--- a/chrome/browser/cocoa/autocomplete_text_field.mm
+++ b/chrome/browser/cocoa/autocomplete_text_field.mm
@@ -143,11 +143,11 @@
return;
}
- // Check to see if the user clicked the hint icon in the cell. If so, we need
- // to display the page info window.
- const NSRect hintIconFrame = [cell hintImageFrameForFrame:[self bounds]];
+ // Check to see if the user clicked the security hint icon in the cell. If so,
+ // we need to display the page info window.
+ const NSRect hintIconFrame = [cell securityImageFrameForFrame:[self bounds]];
if (NSMouseInRect(location, hintIconFrame, [self isFlipped])) {
- observer_->OnSecurityIconClicked();
+ [cell onSecurityIconMousePressed];
return;
}