Index: Source/core/rendering/RenderText.h |
diff --git a/Source/core/rendering/RenderText.h b/Source/core/rendering/RenderText.h |
index efc170b4950369a0ee30a9a41f5d1f5a39049249..f0d5b96194492e1cc10189abea398ebee8b930e5 100644 |
--- a/Source/core/rendering/RenderText.h |
+++ b/Source/core/rendering/RenderText.h |
@@ -113,7 +113,7 @@ public: |
virtual bool canBeSelectionLeaf() const OVERRIDE { return true; } |
virtual void setSelectionState(SelectionState s) OVERRIDE FINAL; |
- virtual LayoutRect selectionRectForPaintInvalidation(const RenderLayerModelObject* paintInvalidationContainer, bool clipToVisibleContent = true) OVERRIDE; |
+ virtual LayoutRect selectionRectForPaintInvalidation(const RenderLayerModelObject* paintInvalidationContainer, bool clipToVisibleContent = true) const OVERRIDE; |
virtual LayoutRect localCaretRect(InlineBox*, int caretOffset, LayoutUnit* extraWidthToEndOfLine = 0) OVERRIDE; |
LayoutUnit marginLeft() const { return minimumValueForLength(style()->marginLeft(), 0); } |