Chromium Code Reviews| 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..5b92a83eadc4c6939131670268d412b6e8065cac 100644 |
| --- a/ui/native_theme/native_theme.cc |
| +++ b/ui/native_theme/native_theme.cc |
| @@ -14,6 +14,11 @@ NativeTheme::ExtraParams::ExtraParams() { |
| memset(this, 0, sizeof(*this)); |
| } |
| +NativeTheme::ExtraParams::ExtraParams(const ExtraParams& other) { |
| + if (this != &other) |
| + memcpy(this, &other, sizeof(*this)); |
|
vmpstr
2016/03/23 01:09:07
This seems to be on par with what the default ctor
|
| +} |
| + |
| void NativeTheme::SetScrollbarColors(unsigned inactive_color, |
| unsigned active_color, |
| unsigned track_color) { |