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

Unified Diff: ui/views/corewm/tooltip_win.cc

Issue 103143005: WinAura: don't create tooltip on hide (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 years 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/corewm/tooltip_win.cc
diff --git a/ui/views/corewm/tooltip_win.cc b/ui/views/corewm/tooltip_win.cc
index 10341d616351bfb78c35d49b14ba9aac6fef54ba..c774139cfab574d06279b64f3d5267ee5560327d 100644
--- a/ui/views/corewm/tooltip_win.cc
+++ b/ui/views/corewm/tooltip_win.cc
@@ -134,7 +134,7 @@ void TooltipWin::Show() {
}
void TooltipWin::Hide() {
- if (!EnsureTooltipWindow())
+ if (!tooltip_hwnd_)
return;
SendMessage(tooltip_hwnd_, TTM_TRACKACTIVATE, FALSE,
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698