| Index: ui/views/controls/textfield/textfield.cc
|
| diff --git a/ui/views/controls/textfield/textfield.cc b/ui/views/controls/textfield/textfield.cc
|
| index cfa18d1299c2098d7e46ee4fe3ef00ad9063e7f4..27857536d6a9ced3d7ac575a5805133121d74990 100644
|
| --- a/ui/views/controls/textfield/textfield.cc
|
| +++ b/ui/views/controls/textfield/textfield.cc
|
| @@ -1319,7 +1319,9 @@ void Textfield::ExecuteCommand(int command_id, int event_flags) {
|
| }
|
| }
|
|
|
| - if (!IsCommandIdEnabled(command_id))
|
| + // We only execute the commands enabled in Textfield::IsCommandIdEnabled
|
| + // below. Hence don't do a virtual IsCommandIdEnabled call.
|
| + if (!Textfield::IsCommandIdEnabled(command_id))
|
| return;
|
|
|
| bool text_changed = false;
|
|
|