| Index: chrome/browser/renderer_host/render_widget_host_view_mac.mm
|
| ===================================================================
|
| --- chrome/browser/renderer_host/render_widget_host_view_mac.mm (revision 18902)
|
| +++ chrome/browser/renderer_host/render_widget_host_view_mac.mm (working copy)
|
| @@ -267,7 +267,7 @@
|
| // right now it allows multiple views in multiple tabs to each be displaying
|
| // a tooltip simultaneously (http://crbug.com/14178).
|
| void RenderWidgetHostViewMac::SetTooltipText(const std::wstring& tooltip_text) {
|
| - if (tooltip_text != tooltip_text_ && [[cocoa_view_ window] isMainWindow]) {
|
| + if (tooltip_text != tooltip_text_ && [[cocoa_view_ window] isKeyWindow]) {
|
| tooltip_text_ = tooltip_text;
|
|
|
| // Clamp the tooltip length to kMaxTooltipLength. It's a DOS issue on
|
|
|