Index: chrome/browser/ui/views/toolbar/toolbar_action_view.cc |
diff --git a/chrome/browser/ui/views/toolbar/toolbar_action_view.cc b/chrome/browser/ui/views/toolbar/toolbar_action_view.cc |
index 30777b884beb71fa5fed9f0cd8f1391d5391929b..322eaced0a5646b30ab9a5ae66798386cfa606af 100644 |
--- a/chrome/browser/ui/views/toolbar/toolbar_action_view.cc |
+++ b/chrome/browser/ui/views/toolbar/toolbar_action_view.cc |
@@ -128,6 +128,11 @@ void ToolbarActionView::RemoveInkDropLayer(ui::Layer* ink_drop_layer) { |
image()->SetPaintToLayer(false); |
} |
+bool ToolbarActionView::ShouldShowInkDropHover() const { |
+ return !delegate_->ShownInsideMenu() && |
+ views::MenuButton::ShouldShowInkDropHover(); |
+} |
+ |
content::WebContents* ToolbarActionView::GetCurrentWebContents() const { |
return delegate_->GetCurrentWebContents(); |
} |