| Index: third_party/WebKit/Source/core/editing/EditingBehavior.cpp
|
| diff --git a/third_party/WebKit/Source/core/editing/EditingBehavior.cpp b/third_party/WebKit/Source/core/editing/EditingBehavior.cpp
|
| index 49088f02ad4cbd064e609650a27f02138bfc6258..6f21384e344d47853094759340dd7a28b9ad19cd 100644
|
| --- a/third_party/WebKit/Source/core/editing/EditingBehavior.cpp
|
| +++ b/third_party/WebKit/Source/core/editing/EditingBehavior.cpp
|
| @@ -231,14 +231,14 @@ const char* EditingBehavior::interpretKeyEvent(
|
|
|
| if (keyEvent->type() == WebInputEvent::RawKeyDown) {
|
| int mapKey = modifiers << 16 | event.keyCode();
|
| - const char* name = mapKey ? keyDownCommandsMap->get(mapKey) : nullptr;
|
| + const char* name = mapKey ? keyDownCommandsMap->at(mapKey) : nullptr;
|
| if (!name)
|
| name = lookupCommandNameFromDomKeyKeyDown(event.key(), modifiers);
|
| return name;
|
| }
|
|
|
| int mapKey = modifiers << 16 | event.charCode();
|
| - return mapKey ? keyPressCommandsMap->get(mapKey) : 0;
|
| + return mapKey ? keyPressCommandsMap->at(mapKey) : 0;
|
| }
|
|
|
| bool EditingBehavior::shouldInsertCharacter(const KeyboardEvent& event) const {
|
|
|