Index: Source/WebCore/html/HTMLInputElement.cpp |
=================================================================== |
--- Source/WebCore/html/HTMLInputElement.cpp (revision 134268) |
+++ Source/WebCore/html/HTMLInputElement.cpp (working copy) |
@@ -54,6 +54,7 @@ |
#include "NumberInputType.h" |
#include "RenderTextControlSingleLine.h" |
#include "RenderTheme.h" |
+#include "ScopedEventQueue.h" |
#include "SearchInputType.h" |
#include "ShadowRoot.h" |
#include "ScriptEventListener.h" |
@@ -1021,6 +1022,7 @@ |
return; |
RefPtr<HTMLInputElement> protector(this); |
+ EventQueueScope scope; |
String sanitizedValue = sanitizeValue(value); |
bool valueChanged = sanitizedValue != this->value(); |