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

Unified Diff: ui/native_theme/native_theme_aura.cc

Issue 1661673004: Enables hot-tracking for overflow extension buttons in the app menu (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Restores hot-tracking of extension buttons in app menu with MD (default ctor for ExtraParams) 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: ui/native_theme/native_theme_aura.cc
diff --git a/ui/native_theme/native_theme_aura.cc b/ui/native_theme/native_theme_aura.cc
index 223969f44b34ffd11db2cc6e091f974f48a932b8..0afdd1191149f07e35ac177e01f09ae2cd368192 100644
--- a/ui/native_theme/native_theme_aura.cc
+++ b/ui/native_theme/native_theme_aura.cc
@@ -130,8 +130,8 @@ void NativeThemeAura::PaintMenuItemBackground(
SkCanvas* canvas,
State state,
const gfx::Rect& rect,
- const MenuListExtraParams& menu_list) const {
- CommonThemePaintMenuItemBackground(canvas, state, rect);
+ const MenuItemExtraParams& menu_item) const {
+ CommonThemePaintMenuItemBackground(canvas, state, rect, menu_item);
}
void NativeThemeAura::PaintArrowButton(SkCanvas* canvas,

Powered by Google App Engine
This is Rietveld 408576698