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

Unified Diff: ui/native_theme/native_theme.cc

Issue 1825273002: Add more out of line copy ctors for complex classes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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
« no previous file with comments | « ui/native_theme/native_theme.h ('k') | ui/platform_window/text_input_state.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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) {
« no previous file with comments | « ui/native_theme/native_theme.h ('k') | ui/platform_window/text_input_state.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698