Index: ui/native_theme/native_theme.cc |
diff --git a/ui/native_theme/native_theme.cc b/ui/native_theme/native_theme.cc |
index 96b0072ce706ec0501d83581adfef4b2fd164de3..e4911c97d01e7d68167409c9b96041240293faf7 100644 |
--- a/ui/native_theme/native_theme.cc |
+++ b/ui/native_theme/native_theme.cc |
@@ -14,6 +14,10 @@ NativeTheme::ExtraParams::ExtraParams() { |
memset(this, 0, sizeof(*this)); |
} |
+NativeTheme::ExtraParams::ExtraParams(const ExtraParams& other) { |
+ memcpy(this, &other, sizeof(*this)); |
+} |
+ |
void NativeTheme::SetScrollbarColors(unsigned inactive_color, |
unsigned active_color, |
unsigned track_color) { |