Index: Source/core/layout/LayoutScrollbar.cpp |
diff --git a/Source/core/layout/LayoutScrollbar.cpp b/Source/core/layout/LayoutScrollbar.cpp |
index 4bb6d6cc8f78feedf5f168a690aa90947428973b..d7cf6b52e38527e2ed3ee68573e5521e91418d1c 100644 |
--- a/Source/core/layout/LayoutScrollbar.cpp |
+++ b/Source/core/layout/LayoutScrollbar.cpp |
@@ -93,7 +93,7 @@ LayoutBox* LayoutScrollbar::owningRenderer() const |
{ |
if (m_owningFrame) |
return m_owningFrame->ownerLayoutObject(); |
- return m_owner && m_owner->renderer() ? m_owner->renderer()->enclosingBox() : 0; |
+ return m_owner && m_owner->layoutObject() ? m_owner->layoutObject()->enclosingBox() : 0; |
} |
void LayoutScrollbar::setParent(Widget* parent) |