summaryrefslogtreecommitdiffstats
path: root/views/widget/widget_win.cc
diff options
context:
space:
mode:
Diffstat (limited to 'views/widget/widget_win.cc')
-rw-r--r--views/widget/widget_win.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/views/widget/widget_win.cc b/views/widget/widget_win.cc
index 039ab36..516b771 100644
--- a/views/widget/widget_win.cc
+++ b/views/widget/widget_win.cc
@@ -203,9 +203,9 @@ void WidgetWin::Init(HWND parent, const gfx::Rect& bounds,
// that window controls in Chrome windows don't flicker when you move your
// mouse over them. See comment in aero_tooltip_manager.h.
if (win_util::ShouldUseVistaFrame()) {
- tooltip_manager_.reset(new AeroTooltipManager(this, GetNativeView()));
+ tooltip_manager_.reset(new AeroTooltipManager(this));
} else {
- tooltip_manager_.reset(new TooltipManager(this, GetNativeView()));
+ tooltip_manager_.reset(new TooltipManagerWin(this));
}
// This message initializes the window so that focus border are shown for