Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(568)

Unified Diff: views/view.cc

Issue 7253016: Merge 88897 - Disables tooltips if we can't create the tooltip window. I still don't (Closed) Base URL: svn://svn.chromium.org/chrome/branches/782/src/
Patch Set: Created 9 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/base/win/hwnd_util.cc ('k') | views/widget/aero_tooltip_manager.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: views/view.cc
===================================================================
--- views/view.cc (revision 90643)
+++ views/view.cc (working copy)
@@ -1270,7 +1270,8 @@
void View::TooltipTextChanged() {
Widget* widget = GetWidget();
- if (widget)
+ // TooltipManager may be null if there is a problem creating it.
+ if (widget && widget->native_widget()->GetTooltipManager())
widget->native_widget()->GetTooltipManager()->TooltipTextChanged(this);
}
« no previous file with comments | « ui/base/win/hwnd_util.cc ('k') | views/widget/aero_tooltip_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698