Index: Source/WebCore/html/RangeInputType.cpp |
=================================================================== |
--- Source/WebCore/html/RangeInputType.cpp (revision 134259) |
+++ Source/WebCore/html/RangeInputType.cpp (working copy) |
@@ -43,6 +43,7 @@ |
#include "MouseEvent.h" |
#include "PlatformMouseEvent.h" |
#include "RenderSlider.h" |
+#include "ScopedEventQueue.h" |
#include "ShadowRoot.h" |
#include "SliderThumbElement.h" |
#include "StepRange.h" |
@@ -235,6 +236,7 @@ |
newValue = stepRange.clampValue(newValue); |
if (newValue != current) { |
+ EventQueueScope scope; |
ExceptionCode ec; |
TextFieldEventBehavior eventBehavior = DispatchChangeEvent; |
setValueAsDecimal(newValue, eventBehavior, ec); |