Index: third_party/WebKit/Source/devtools/front_end/elements/StylesPopoverHelper.js |
diff --git a/third_party/WebKit/Source/devtools/front_end/elements/StylesPopoverHelper.js b/third_party/WebKit/Source/devtools/front_end/elements/StylesPopoverHelper.js |
index 18178b19ed80c1448509ca9001c765d8f00f5190..1f09c124c9b17abd9ca923c93794ddbdad6c7076 100644 |
--- a/third_party/WebKit/Source/devtools/front_end/elements/StylesPopoverHelper.js |
+++ b/third_party/WebKit/Source/devtools/front_end/elements/StylesPopoverHelper.js |
@@ -119,12 +119,12 @@ WebInspector.StylesPopoverHelper.prototype = { |
*/ |
_onKeyDown: function(event) |
{ |
- if (event.keyIdentifier === "Enter") { |
+ if (event.key === "Enter") { |
this.hide(true); |
event.consume(true); |
return; |
} |
- if (event.keyIdentifier === "U+001B") { // Escape key |
+ if (event.key === "Escape") { |
this.hide(false); |
event.consume(true); |
} |