Index: Source/core/rendering/RenderText.h |
diff --git a/Source/core/rendering/RenderText.h b/Source/core/rendering/RenderText.h |
index 13af4be1c6bdb366d0380d260046d4b86b862c06..9f75febd484f766680ad695a3dc34dedb77f5505 100644 |
--- a/Source/core/rendering/RenderText.h |
+++ b/Source/core/rendering/RenderText.h |
@@ -112,8 +112,8 @@ public: |
virtual LayoutRect selectionRectForRepaint(const RenderLayerModelObject* repaintContainer, bool clipToVisibleContent = true) OVERRIDE; |
virtual LayoutRect localCaretRect(InlineBox*, int caretOffset, LayoutUnit* extraWidthToEndOfLine = 0); |
- LayoutUnit marginLeft() const { return minimumValueForLength(style()->marginLeft(), 0, view()); } |
- LayoutUnit marginRight() const { return minimumValueForLength(style()->marginRight(), 0, view()); } |
+ LayoutUnit marginLeft() const { return minimumValueForLength(style()->marginLeft(), 0); } |
+ LayoutUnit marginRight() const { return minimumValueForLength(style()->marginRight(), 0); } |
virtual LayoutRect clippedOverflowRectForRepaint(const RenderLayerModelObject* repaintContainer) const OVERRIDE FINAL; |