| Index: third_party/WebKit/Source/core/html/shadow/DateTimeEditElement.cpp
|
| diff --git a/third_party/WebKit/Source/core/html/shadow/DateTimeEditElement.cpp b/third_party/WebKit/Source/core/html/shadow/DateTimeEditElement.cpp
|
| index e76201e85791cfc0a7a1b736533be23921825cf1..01bcd1098588fe08ef47edfa10546e010ee9654d 100644
|
| --- a/third_party/WebKit/Source/core/html/shadow/DateTimeEditElement.cpp
|
| +++ b/third_party/WebKit/Source/core/html/shadow/DateTimeEditElement.cpp
|
| @@ -567,7 +567,7 @@ void DateTimeEditElement::focusByOwner(Element* oldFocusedElement)
|
| if (oldFocusedElement && oldFocusedElement->isDateTimeFieldElement()) {
|
| DateTimeFieldElement* oldFocusedField = static_cast<DateTimeFieldElement*>(oldFocusedElement);
|
| size_t index = fieldIndexOf(*oldFocusedField);
|
| - document().updateLayoutTreeForNode(oldFocusedField);
|
| + document().updateStyleAndLayoutTreeForNode(oldFocusedField);
|
| if (index != invalidFieldIndex && oldFocusedField->isFocusable()) {
|
| oldFocusedField->focus();
|
| return;
|
| @@ -599,7 +599,7 @@ void DateTimeEditElement::fieldValueChanged()
|
|
|
| bool DateTimeEditElement::focusOnNextFocusableField(size_t startIndex)
|
| {
|
| - document().updateLayoutTreeIgnorePendingStylesheets();
|
| + document().updateStyleAndLayoutTreeIgnorePendingStylesheets();
|
| for (size_t fieldIndex = startIndex; fieldIndex < m_fields.size(); ++fieldIndex) {
|
| if (m_fields[fieldIndex]->isFocusable()) {
|
| m_fields[fieldIndex]->focus();
|
| @@ -622,7 +622,7 @@ bool DateTimeEditElement::focusOnPreviousField(const DateTimeFieldElement& field
|
| const size_t startFieldIndex = fieldIndexOf(field);
|
| if (startFieldIndex == invalidFieldIndex)
|
| return false;
|
| - document().updateLayoutTreeIgnorePendingStylesheets();
|
| + document().updateStyleAndLayoutTreeIgnorePendingStylesheets();
|
| size_t fieldIndex = startFieldIndex;
|
| while (fieldIndex > 0) {
|
| --fieldIndex;
|
|
|