Chromium Code Reviews| Index: Source/core/html/shadow/DateTimeFieldElement.cpp |
| diff --git a/Source/core/html/shadow/DateTimeFieldElement.cpp b/Source/core/html/shadow/DateTimeFieldElement.cpp |
| index fd10cad7ee78269ee2e6bf3a7c07fe2332191773..2f8a9537dda3958d2b3ca1532a490b8071f03494 100644 |
| --- a/Source/core/html/shadow/DateTimeFieldElement.cpp |
| +++ b/Source/core/html/shadow/DateTimeFieldElement.cpp |
| @@ -62,6 +62,8 @@ void DateTimeFieldElement::defaultEventHandler(Event* event) |
| if (event->isKeyboardEvent()) { |
| KeyboardEvent* keyboardEvent = toKeyboardEvent(event); |
| + if (m_fieldOwner) |
| + m_fieldOwner->fieldOwnerDidReleaseMouseCapture(); |
|
tkent
2014/01/21 01:00:53
The function name is wrong. This code is not rela
|
| if (!isDisabled() && !isFieldOwnerDisabled() && !isFieldOwnerReadOnly()) { |
| handleKeyboardEvent(keyboardEvent); |
| if (keyboardEvent->defaultHandled()) |