Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2566)

Unified Diff: tools/dom/src/KeyboardEventStream.dart

Issue 2883623004: fix KeyEvent and KeyboardEvent (Closed)
Patch Set: Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: tools/dom/src/KeyboardEventStream.dart
diff --git a/tools/dom/src/KeyboardEventStream.dart b/tools/dom/src/KeyboardEventStream.dart
index b77b469ab983e4cc6daf40c4ac27c2863a24d4e5..7b9b13eda75bb55095e908ed3c7632991e8cc7b6 100644
--- a/tools/dom/src/KeyboardEventStream.dart
+++ b/tools/dom/src/KeyboardEventStream.dart
@@ -134,7 +134,7 @@ class _KeyboardEventHandler extends EventStreamProvider<KeyEvent> {
* keypress events.
*/
int _findCharCodeKeyDown(KeyboardEvent event) {
- if (event.keyLocation == 3) {
+ if (event.location == 3) {
// Numpad keys.
switch (event.keyCode) {
case KeyCode.NUM_ZERO:

Powered by Google App Engine
This is Rietveld 408576698