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

Unified Diff: ui/native_theme/native_theme.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 (win build) 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.cc
diff --git a/ui/native_theme/native_theme.cc b/ui/native_theme/native_theme.cc
index f15f144b8c08746c03a6f56855e65a64b5d73c61..96b0072ce706ec0501d83581adfef4b2fd164de3 100644
--- a/ui/native_theme/native_theme.cc
+++ b/ui/native_theme/native_theme.cc
@@ -4,10 +4,16 @@
#include "ui/native_theme/native_theme.h"
+#include <cstring>
+
#include "ui/native_theme/native_theme_observer.h"
namespace ui {
+NativeTheme::ExtraParams::ExtraParams() {
+ memset(this, 0, sizeof(*this));
+}
+
void NativeTheme::SetScrollbarColors(unsigned inactive_color,
unsigned active_color,
unsigned track_color) {

Powered by Google App Engine
This is Rietveld 408576698