2011-02-03 Dimitri Glazkov <dglazkov@chromium.org>
[WebKit.git] / Source / WebCore / html / shadow / SliderThumbElement.cpp
index 83148d0c5e960ae166de8a2510bb776cd7828f4c..6efd19186271e19e0beb3277b7832e93ded880d1 100644 (file)
@@ -147,6 +147,8 @@ void SliderThumbElement::stopDragging()
     if (Frame* frame = document()->frame())
         frame->eventHandler()->setCapturingMouseEventsNode(0);
     m_inDragMode = false;
     if (Frame* frame = document()->frame())
         frame->eventHandler()->setCapturingMouseEventsNode(0);
     m_inDragMode = false;
+    if (renderer())
+        renderer()->setNeedsLayout(true);
 }
 
 void SliderThumbElement::defaultEventHandler(Event* event)
 }
 
 void SliderThumbElement::defaultEventHandler(Event* event)