diff options
Diffstat (limited to 'Source/WebCore/rendering/RenderBox.cpp')
-rw-r--r-- | Source/WebCore/rendering/RenderBox.cpp | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/Source/WebCore/rendering/RenderBox.cpp b/Source/WebCore/rendering/RenderBox.cpp index b906ec94d..199deb6b2 100644 --- a/Source/WebCore/rendering/RenderBox.cpp +++ b/Source/WebCore/rendering/RenderBox.cpp @@ -256,11 +256,6 @@ void RenderBox::willBeDestroyed() if (styleToUse) { if (RenderView* view = this->view()) { if (FrameView* frameView = view->frameView()) { - // If this renderer is owning renderer for the FrameView's custom scrollbars, - // we need to clear it from the scrollbar. See webkit bug 64737. - if (styleToUse->hasPseudoStyle(SCROLLBAR)) - frameView->clearOwningRendererForCustomScrollbars(this); - if (styleToUse->position() == FixedPosition) frameView->removeFixedObject(); } @@ -3912,6 +3907,16 @@ LayoutRect RenderBox::layoutOverflowRectForPropagation(RenderStyle* parentStyle) return rect; } +LayoutUnit RenderBox::offsetLeft() const +{ + return offsetTopLeft(topLeftLocation()).x(); +} + +LayoutUnit RenderBox::offsetTop() const +{ + return offsetTopLeft(topLeftLocation()).y(); +} + LayoutPoint RenderBox::flipForWritingModeForChild(const RenderBox* child, const LayoutPoint& point) const { if (!style()->isFlippedBlocksWritingMode()) |