mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-17 07:15:46 +00:00
Bug 1119106 - Add an explanatory comment. r=smichaud
--HG-- extra : rebase_source : df67c54a8f1702cfa065118473eb7cb232e1fd16
This commit is contained in:
parent
f06291ba8d
commit
e11fa56d49
@ -347,6 +347,10 @@ static BOOL IsToolbarStyleContainer(nsIFrame* aFrame)
|
||||
[super drawWithFrame:rect inView:controlView];
|
||||
|
||||
if (FocusIsDrawnByDrawWithFrame(self)) {
|
||||
// For some reason, -[NSSearchFieldCell drawWithFrame:inView] doesn't draw a
|
||||
// focus ring in 64 bit mode, no matter what SDK is used or what OS X version
|
||||
// we're running on. But if FocusIsDrawnByDrawWithFrame(self), then our
|
||||
// caller expects us to draw a focus ring. So we just do that here.
|
||||
DrawFocusRingForCellIfNeeded(self, rect, controlView);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user