Index: chrome/browser/ui/cocoa/location_bar/location_bar_decoration.mm |
diff --git a/chrome/browser/ui/cocoa/location_bar/location_bar_decoration.mm b/chrome/browser/ui/cocoa/location_bar/location_bar_decoration.mm |
index 5e8d18d7addc6a578e547b5bc9894b5017abb261..58c2e230bb9619d713613fc316d4170c0ad9e4b5 100644 |
--- a/chrome/browser/ui/cocoa/location_bar/location_bar_decoration.mm |
+++ b/chrome/browser/ui/cocoa/location_bar/location_bar_decoration.mm |
@@ -104,7 +104,8 @@ - (void)drawFocusRingMask { |
} |
- (NSRect)focusRingMaskBounds { |
- return [[self superview] convertRect:apparentFrame_ toView:self]; |
+ return owner_->GetRealFocusRingBounds( |
+ [[self superview] convertRect:apparentFrame_ toView:self]); |
} |
@end |
@@ -184,6 +185,10 @@ - (void)mouseExited:(NSEvent*)event { |
[v setApparentFrame:apparent_frame]; |
} |
+NSRect LocationBarDecoration::GetRealFocusRingBounds(NSRect bounds) const { |
+ return bounds; |
+} |
+ |
void LocationBarDecoration::DrawInFrame(NSRect frame, NSView* control_view) { |
NOTREACHED(); |
} |