Index: Source/core/rendering/RenderListBox.cpp |
diff --git a/Source/core/rendering/RenderListBox.cpp b/Source/core/rendering/RenderListBox.cpp |
index 691476a5e31aaaabd30ced14dbfa6f7c42ca801c..a75aa72faec224fdb45eb98eae07903d18c6dfb6 100644 |
--- a/Source/core/rendering/RenderListBox.cpp |
+++ b/Source/core/rendering/RenderListBox.cpp |
@@ -191,7 +191,7 @@ void RenderListBox::layout() |
} |
if (m_scrollToRevealSelectionAfterLayout) { |
- LayoutStateDisabler layoutStateDisabler(view()); |
+ LayoutStateDisabler layoutStateDisabler(*this); |
scrollToRevealSelection(); |
} |
} |