| Index: third_party/WebKit/Source/core/html/shadow/DateTimeFieldElement.cpp
|
| diff --git a/third_party/WebKit/Source/core/html/shadow/DateTimeFieldElement.cpp b/third_party/WebKit/Source/core/html/shadow/DateTimeFieldElement.cpp
|
| index 8ea2a29447aeea77d266b2fc83cc23be1e058ea5..05b925629e28ffa01689ed1dce6c451f8c9a84f3 100644
|
| --- a/third_party/WebKit/Source/core/html/shadow/DateTimeFieldElement.cpp
|
| +++ b/third_party/WebKit/Source/core/html/shadow/DateTimeFieldElement.cpp
|
| @@ -131,10 +131,16 @@ void DateTimeFieldElement::DefaultKeyboardEventHandler(
|
| }
|
| }
|
|
|
| -void DateTimeFieldElement::SetFocused(bool value) {
|
| - if (field_owner_)
|
| - value ? field_owner_->DidFocusOnField() : field_owner_->DidBlurFromField();
|
| - ContainerNode::SetFocused(value);
|
| +void DateTimeFieldElement::SetFocused(bool value, WebFocusType focus_type) {
|
| + if (field_owner_) {
|
| + if (value) {
|
| + field_owner_->DidFocusOnField(focus_type);
|
| + } else {
|
| + field_owner_->DidBlurFromField(focus_type);
|
| + }
|
| + }
|
| +
|
| + ContainerNode::SetFocused(value, focus_type);
|
| }
|
|
|
| void DateTimeFieldElement::FocusOnNextField() {
|
|
|