| Index: Source/core/layout/LayoutScrollbar.cpp
|
| diff --git a/Source/core/layout/LayoutScrollbar.cpp b/Source/core/layout/LayoutScrollbar.cpp
|
| index e78f71283b4d0e2363a98f1f3f8974e1b7116875..76b3fad68d2a761866f7d8889279ff4c05c61985 100644
|
| --- a/Source/core/layout/LayoutScrollbar.cpp
|
| +++ b/Source/core/layout/LayoutScrollbar.cpp
|
| @@ -89,10 +89,10 @@ DEFINE_TRACE(LayoutScrollbar)
|
| Scrollbar::trace(visitor);
|
| }
|
|
|
| -RenderBox* LayoutScrollbar::owningRenderer() const
|
| +LayoutBox* LayoutScrollbar::owningRenderer() const
|
| {
|
| if (m_owningFrame) {
|
| - RenderBox* currentRenderer = m_owningFrame->ownerRenderer();
|
| + LayoutBox* currentRenderer = m_owningFrame->ownerRenderer();
|
| return currentRenderer;
|
| }
|
| return m_owner && m_owner->renderer() ? m_owner->renderer()->enclosingBox() : 0;
|
| @@ -102,7 +102,7 @@ void LayoutScrollbar::setParent(Widget* parent)
|
| {
|
| Scrollbar::setParent(parent);
|
| if (!parent) {
|
| - // Destroy all of the scrollbar's RenderBoxes.
|
| + // Destroy all of the scrollbar's LayoutBoxes.
|
| updateScrollbarParts(true);
|
| }
|
| }
|
| @@ -190,7 +190,7 @@ void LayoutScrollbar::updateScrollbarParts(bool destroy)
|
|
|
| if (newThickness != oldThickness) {
|
| setFrameRect(IntRect(location(), IntSize(isHorizontal ? width() : newThickness, isHorizontal ? newThickness : height())));
|
| - if (RenderBox* box = owningRenderer()) {
|
| + if (LayoutBox* box = owningRenderer()) {
|
| if (box->isRenderBlock())
|
| toRenderBlock(box)->notifyScrollbarThicknessChanged();
|
| box->setChildNeedsLayout();
|
|
|