Chromium Code Reviews| Index: Source/core/html/shadow/DateTimeEditElement.cpp |
| diff --git a/Source/core/html/shadow/DateTimeEditElement.cpp b/Source/core/html/shadow/DateTimeEditElement.cpp |
| index d820a5efe22c512256a580c32fd7bc07761feb09..298a1702622b7d6f112ef9909640caf22d6b8279 100644 |
| --- a/Source/core/html/shadow/DateTimeEditElement.cpp |
| +++ b/Source/core/html/shadow/DateTimeEditElement.cpp |
| @@ -701,6 +701,7 @@ void DateTimeEditElement::readOnlyStateChanged() |
| void DateTimeEditElement::resetFields() |
| { |
| + didBlurFromField(); |
|
tkent
2014/03/11 04:41:58
I don't think this works fine. This looks we loos
|
| for (size_t fieldIndex = 0; fieldIndex < m_fields.size(); ++fieldIndex) |
| m_fields[fieldIndex]->removeEventHandler(); |
| m_fields.shrink(0); |