summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/core/render_widget_host_view_qt.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/core/render_widget_host_view_qt.cpp b/src/core/render_widget_host_view_qt.cpp
index 9424b2ae4..17f5e4fdc 100644
--- a/src/core/render_widget_host_view_qt.cpp
+++ b/src/core/render_widget_host_view_qt.cpp
@@ -736,8 +736,7 @@ void RenderWidgetHostViewQt::Destroy()
void RenderWidgetHostViewQt::SetTooltipText(const base::string16 &tooltip_text)
{
- if (GetCursorManager())
- GetCursorManager()->SetTooltipTextForView(this, tooltip_text);
+ DisplayTooltipText(tooltip_text);
}
void RenderWidgetHostViewQt::DisplayTooltipText(const base::string16 &tooltip_text)