Index: Source/core/rendering/RenderScrollbarPart.cpp |
diff --git a/Source/core/rendering/RenderScrollbarPart.cpp b/Source/core/rendering/RenderScrollbarPart.cpp |
index 927079a1fdff09b7eba07e8f4eb25d91af3728e2..904d1ea280158972f3c274fe44d29a546047c02a 100644 |
--- a/Source/core/rendering/RenderScrollbarPart.cpp |
+++ b/Source/core/rendering/RenderScrollbarPart.cpp |
@@ -56,6 +56,7 @@ RenderScrollbarPart* RenderScrollbarPart::createAnonymous(Document* document, Re |
void RenderScrollbarPart::layout() |
{ |
+ setMayNeedInvalidation(true); |
setLocation(LayoutPoint()); // We don't worry about positioning ourselves. We're just determining our minimum width/height. |
if (m_scrollbar->orientation() == HorizontalScrollbar) |
layoutHorizontalPart(); |