Index: Source/core/layout/LayoutTextControlMultiLine.h |
diff --git a/Source/core/layout/LayoutTextControlMultiLine.h b/Source/core/layout/LayoutTextControlMultiLine.h |
index b7f15b0f2ad05376781c42cbdb1b6f440446cdce..faf639d925d40a48e4687248793d4c0b46481157 100644 |
--- a/Source/core/layout/LayoutTextControlMultiLine.h |
+++ b/Source/core/layout/LayoutTextControlMultiLine.h |
@@ -38,7 +38,7 @@ private: |
bool nodeAtPoint(HitTestResult&, const HitTestLocation& locationInContainer, const LayoutPoint& accumulatedOffset, HitTestAction) override; |
- float getAvgCharWidth(AtomicString family) override; |
+ float getAvgCharWidth(const AtomicString& family) const override; |
LayoutUnit preferredContentLogicalWidth(float charWidth) const override; |
LayoutUnit computeControlLogicalHeight(LayoutUnit lineHeight, LayoutUnit nonContentHeight) const override; |
// We override the two baseline functions because we want our baseline to be the bottom of our margin box. |