summaryrefslogtreecommitdiffstats
path: root/ui/platform_window/text_input_state.cc
diff options
context:
space:
mode:
Diffstat (limited to 'ui/platform_window/text_input_state.cc')
-rw-r--r--ui/platform_window/text_input_state.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/ui/platform_window/text_input_state.cc b/ui/platform_window/text_input_state.cc
index ce6db84..ffc3e52 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 &&