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

Unified Diff: views/view.cc

Issue 6995157: Disables tooltips if we can't create the tooltip window. I still don't (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merge to trunk and update comments 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
Index: views/view.cc
diff --git a/views/view.cc b/views/view.cc
index d33e80b35158285eed2044221045fd4d0eb94405..c0d0fd8806c6ddf646c2e0e89a8039e4b3f0e2ef 100644
--- a/views/view.cc
+++ b/views/view.cc
@@ -1241,7 +1241,7 @@ void View::Blur() {
void View::TooltipTextChanged() {
Widget* widget = GetWidget();
- if (widget)
+ if (widget && widget->native_widget()->GetTooltipManager())
Ben Goodger (Google) 2011/06/13 17:26:17 Again note the mystery, otherwise you might find t
widget->native_widget()->GetTooltipManager()->TooltipTextChanged(this);
}

Powered by Google App Engine
This is Rietveld 408576698