| Index: Source/core/rendering/RenderScrollbarPart.h
|
| diff --git a/Source/core/rendering/RenderScrollbarPart.h b/Source/core/rendering/RenderScrollbarPart.h
|
| index f289ce6f4317cb3e5ea17cb5b119f5f2134be908..809dedf91da6c15c0e601d352075256a346710c9 100644
|
| --- a/Source/core/rendering/RenderScrollbarPart.h
|
| +++ b/Source/core/rendering/RenderScrollbarPart.h
|
| @@ -48,10 +48,10 @@ public:
|
| void paintIntoRect(GraphicsContext*, const LayoutPoint&, const LayoutRect&);
|
|
|
| // Scrollbar parts needs to be rendered at device pixel boundaries.
|
| - virtual LayoutUnit marginTop() const OVERRIDE { ASSERT(isIntegerValue(m_marginBox.top())); return m_marginBox.top(); }
|
| - virtual LayoutUnit marginBottom() const OVERRIDE { ASSERT(isIntegerValue(m_marginBox.bottom())); return m_marginBox.bottom(); }
|
| - virtual LayoutUnit marginLeft() const OVERRIDE { ASSERT(isIntegerValue(m_marginBox.left())); return m_marginBox.left(); }
|
| - virtual LayoutUnit marginRight() const OVERRIDE { ASSERT(isIntegerValue(m_marginBox.right())); return m_marginBox.right(); }
|
| + virtual LayoutUnit marginTop() const OVERRIDE { return m_marginBox.top(); }
|
| + virtual LayoutUnit marginBottom() const OVERRIDE { return m_marginBox.bottom(); }
|
| + virtual LayoutUnit marginLeft() const OVERRIDE { return m_marginBox.left(); }
|
| + virtual LayoutUnit marginRight() const OVERRIDE { return m_marginBox.right(); }
|
|
|
| virtual bool isRenderScrollbarPart() const OVERRIDE { return true; }
|
| RenderObject* rendererOwningScrollbar() const;
|
|
|