| Index: ui/views/controls/textfield/textfield.cc
|
| diff --git a/ui/views/controls/textfield/textfield.cc b/ui/views/controls/textfield/textfield.cc
|
| index a0fc7d542ece9a822c41434e07f1ed7f4b7afa07..59ed527e7aaaaa11a06f3b3e85a332c7cf1fd62b 100644
|
| --- a/ui/views/controls/textfield/textfield.cc
|
| +++ b/ui/views/controls/textfield/textfield.cc
|
| @@ -1499,6 +1499,7 @@ bool Textfield::IsTextEditCommandEnabled(ui::TextEditCommand command) const {
|
| case ui::TextEditCommand::SET_MARK:
|
| case ui::TextEditCommand::UNSELECT:
|
| case ui::TextEditCommand::INVALID_COMMAND:
|
| + case ui::TextEditCommand::NUMBER_OF_COMMANDS:
|
| return false;
|
| }
|
| NOTREACHED();
|
| @@ -1695,6 +1696,7 @@ void Textfield::ExecuteTextEditCommand(ui::TextEditCommand command) {
|
| case ui::TextEditCommand::SET_MARK:
|
| case ui::TextEditCommand::UNSELECT:
|
| case ui::TextEditCommand::INVALID_COMMAND:
|
| + case ui::TextEditCommand::NUMBER_OF_COMMANDS:
|
| NOTREACHED();
|
| break;
|
| }
|
|
|