Index: ui/views/corewm/tooltip_aura.cc |
diff --git a/ui/views/corewm/tooltip_aura.cc b/ui/views/corewm/tooltip_aura.cc |
index 5ba5989bbbe85b9e9a1e20bd884698be48c31dff..eb2149cc9829e6e64ca9831f6c7a3deba788c724 100644 |
--- a/ui/views/corewm/tooltip_aura.cc |
+++ b/ui/views/corewm/tooltip_aura.cc |
@@ -169,7 +169,7 @@ gfx::Rect TooltipAura::GetBoundsForTooltip( |
// (which comes from the RootWindow). |
if (screen_type_ == gfx::SCREEN_TYPE_NATIVE && |
gfx::SCREEN_TYPE_NATIVE != gfx::SCREEN_TYPE_ALTERNATE) { |
- widget_bounds = tooltip_window_->GetDispatcher()->host()->GetBounds(); |
+ widget_bounds = tooltip_window_->GetHost()->GetBounds(); |
} |
gfx::Screen* screen = gfx::Screen::GetScreenByType(screen_type_); |
gfx::Rect bounds(screen->GetDisplayNearestPoint(origin).bounds()); |