| Index: sdk/lib/html/dartium/html_dartium.dart
|
| diff --git a/sdk/lib/html/dartium/html_dartium.dart b/sdk/lib/html/dartium/html_dartium.dart
|
| index b938aea9ecfed02afb94123fe5346707f9146a8f..8b8da72b55e7ada4156b268076c5c5f7f8d78a61 100644
|
| --- a/sdk/lib/html/dartium/html_dartium.dart
|
| +++ b/sdk/lib/html/dartium/html_dartium.dart
|
| @@ -32120,7 +32120,7 @@ class KeyboardEventController {
|
| EventTarget _target;
|
|
|
| // The distance to shift from upper case alphabet Roman letters to lower case.
|
| - final int _ROMAN_ALPHABET_OFFSET = "a".charCodes[0] - "A".charCodes[0];
|
| + final int _ROMAN_ALPHABET_OFFSET = "a".codeUnits[0] - "A".codeUnits[0];
|
|
|
| StreamSubscription _keyUpSubscription, _keyDownSubscription,
|
| _keyPressSubscription;
|
| @@ -32255,8 +32255,8 @@ class KeyboardEventController {
|
| if (prevEvent._shadowCharCode == event.charCode) {
|
| return prevEvent.keyCode;
|
| }
|
| - if ((event.shiftKey || _capsLockOn) && event.charCode >= "A".charCodes[0]
|
| - && event.charCode <= "Z".charCodes[0] && event.charCode +
|
| + if ((event.shiftKey || _capsLockOn) && event.charCode >= "A".codeUnits[0]
|
| + && event.charCode <= "Z".codeUnits[0] && event.charCode +
|
| _ROMAN_ALPHABET_OFFSET == prevEvent._shadowCharCode) {
|
| return prevEvent.keyCode;
|
| }
|
|
|