Chromium Code Reviews| Index: content/common/text_input_state.cc |
| diff --git a/content/common/text_input_state.cc b/content/common/text_input_state.cc |
| index bf6932b11e640dafe7cf22bba2281e854a00accd..ec5fbfe9d4ea4adf6fa5475bc92827919cba84a1 100644 |
| --- a/content/common/text_input_state.cc |
| +++ b/content/common/text_input_state.cc |
| @@ -10,8 +10,13 @@ TextInputState::TextInputState() |
| : type(ui::TEXT_INPUT_TYPE_NONE), |
| mode(ui::TEXT_INPUT_MODE_DEFAULT), |
| flags(0), |
| + selection_start(0), |
| + selection_end(0), |
| + composition_start(-1), |
| + composition_end(-1), |
| can_compose_inline(true), |
| - show_ime_if_needed(false) {} |
| + show_ime_if_needed(false), |
| + is_non_ime_change(true) {} |
|
EhsanK
2016/04/15 11:59:28
changwan@ will have a better opinion, but I think
kinaba
2016/04/15 16:53:37
You're right that we should not cause sending unma
Charlie Reis
2016/04/15 16:57:39
+1 to false (from an uninformed standpoint), but I
Charlie Reis
2016/04/15 17:16:53
Ah, our comments overlapped. Your explanation mak
EhsanK
2016/04/15 18:05:15
I think based on your comment it has to be initial
|
| TextInputState::TextInputState(const TextInputState& other) = default; |