| Index: third_party/WebKit/Source/core/html/forms/SearchInputType.cpp
|
| diff --git a/third_party/WebKit/Source/core/html/forms/SearchInputType.cpp b/third_party/WebKit/Source/core/html/forms/SearchInputType.cpp
|
| index 54c33c7d5cc8d5ea8f069b2491cbb7dd4c236686..e12b515dbc7d77bec1d41b7730a99addc9590e26 100644
|
| --- a/third_party/WebKit/Source/core/html/forms/SearchInputType.cpp
|
| +++ b/third_party/WebKit/Source/core/html/forms/SearchInputType.cpp
|
| @@ -94,8 +94,8 @@ void SearchInputType::handleKeydownEvent(KeyboardEvent* event)
|
| return;
|
| }
|
|
|
| - const String& key = event->keyIdentifier();
|
| - if (key == "U+001B") {
|
| + const String& key = event->key();
|
| + if (key == "Escape") {
|
| element().setValueForUser("");
|
| element().onSearch();
|
| event->setDefaultHandled();
|
|
|