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: |