Index: content/browser/renderer_host/render_widget_host_view_aura.cc |
diff --git a/content/browser/renderer_host/render_widget_host_view_aura.cc b/content/browser/renderer_host/render_widget_host_view_aura.cc |
index 3dbf57247d50b9bdc051636cb38e5d847f663490..c005d4a7d0f212527dfcce3b54b5a8c5654d6b7a 100644 |
--- a/content/browser/renderer_host/render_widget_host_view_aura.cc |
+++ b/content/browser/renderer_host/render_widget_host_view_aura.cc |
@@ -13,6 +13,7 @@ |
#include "third_party/WebKit/Source/WebKit/chromium/public/WebInputEvent.h" |
#include "third_party/WebKit/Source/WebKit/chromium/public/WebScreenInfo.h" |
#include "ui/aura/client/aura_constants.h" |
+#include "ui/aura/client/tooltip_client.h" |
#include "ui/aura/desktop.h" |
#include "ui/aura/event.h" |
#include "ui/aura/window.h" |
@@ -266,6 +267,12 @@ void RenderWidgetHostViewAura::Destroy() { |
void RenderWidgetHostViewAura::SetTooltipText(const string16& tooltip_text) { |
tooltip_ = tooltip_text; |
+ void* property = aura::Desktop::GetInstance()->GetProperty( |
+ aura::kDesktopTooltipClientKey); |
+ if (property) { |
+ aura::TooltipClient* tc = static_cast<aura::TooltipClient*>(property); |
+ tc->UpdateTooltip(window_); |
+ } |
} |
BackingStore* RenderWidgetHostViewAura::AllocBackingStore( |