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

Unified Diff: ui/platform_window/text_input_state.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/platform_window/text_input_state.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/platform_window/text_input_state.cc
diff --git a/ui/platform_window/text_input_state.cc b/ui/platform_window/text_input_state.cc
index ce6db8418578559b2e89e8a826fa992a4b864708..ffc3e52792a8d8be17a7bb1bf71da7431682b301 100644
--- a/ui/platform_window/text_input_state.cc
+++ b/ui/platform_window/text_input_state.cc
@@ -32,6 +32,8 @@ TextInputState::TextInputState(TextInputType type,
composition_end(composition_end),
can_compose_inline(can_compose_inline) {}
+TextInputState::TextInputState(const TextInputState& other) = default;
+
bool TextInputState::operator==(const TextInputState& other) const {
return type == other.type &&
flags == other.flags &&
« no previous file with comments | « ui/platform_window/text_input_state.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698