Index: Source/core/rendering/RenderBlock.cpp |
diff --git a/Source/core/rendering/RenderBlock.cpp b/Source/core/rendering/RenderBlock.cpp |
index fd1f92102d7a99f84ec285ad64818626429aa076..f8a5ac335a8c162054fbf11295551d466ba3d21e 100644 |
--- a/Source/core/rendering/RenderBlock.cpp |
+++ b/Source/core/rendering/RenderBlock.cpp |
@@ -117,6 +117,8 @@ class OverflowEventDispatcher { |
public: |
OverflowEventDispatcher(const RenderBlock* block) |
: m_block(block) |
+ , m_hadHorizontalLayoutOverflow(false) |
+ , m_hadVerticalLayoutOverflow(false) |
{ |
m_shouldDispatchEvent = !m_block->isAnonymous() && m_block->hasOverflowClip() && m_block->document().hasListenerType(Document::OVERFLOWCHANGED_LISTENER); |
if (m_shouldDispatchEvent) { |