Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(6321)

Unified Diff: chrome/browser/ui/views/toolbar/toolbar_button.cc

Issue 1724963002: Color the ink drop ripple and hover effects based on theming. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: sky review Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/views/toolbar/toolbar_button.cc
diff --git a/chrome/browser/ui/views/toolbar/toolbar_button.cc b/chrome/browser/ui/views/toolbar/toolbar_button.cc
index 38731ca830d38f57d32031a9465a9bb9f924f2e9..60359f6bcd25734c05a15eb85d3fdf5d815df551 100644
--- a/chrome/browser/ui/views/toolbar/toolbar_button.cc
+++ b/chrome/browser/ui/views/toolbar/toolbar_button.cc
@@ -174,7 +174,6 @@ void ToolbarButton::AddInkDropLayer(ui::Layer* ink_drop_layer) {
void ToolbarButton::RemoveInkDropLayer(ui::Layer* ink_drop_layer) {
views::LabelButton::RemoveInkDropLayer(ink_drop_layer);
- image()->SetFillsBoundsOpaquely(true);
image()->SetPaintToLayer(false);
}
« no previous file with comments | « chrome/browser/ui/views/toolbar/toolbar_action_view.cc ('k') | chrome/browser/ui/views/toolbar/toolbar_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698