Index: Source/core/html/HTMLTextFormControlElement.cpp |
diff --git a/Source/core/html/HTMLTextFormControlElement.cpp b/Source/core/html/HTMLTextFormControlElement.cpp |
index bf3597a17159f2e0cad756e6e8be0ffc25b2bc4c..8809d426b49a1731044e49664c0ede190b5c9c9d 100644 |
--- a/Source/core/html/HTMLTextFormControlElement.cpp |
+++ b/Source/core/html/HTMLTextFormControlElement.cpp |
@@ -191,8 +191,8 @@ void HTMLTextFormControlElement::dispatchFormControlChangeEvent() |
{ |
String newValue = value(); |
if (shouldDispatchFormControlChangeEvent(m_textAsOfLastFormControlChangeEvent, newValue)) { |
- dispatchChangeEvent(); |
setTextAsOfLastFormControlChangeEvent(newValue); |
+ dispatchChangeEvent(); |
} |
setChangedSinceLastFormControlChangeEvent(false); |
} |