Index: Source/core/layout/LayoutTextControlSingleLine.h |
diff --git a/Source/core/layout/LayoutTextControlSingleLine.h b/Source/core/layout/LayoutTextControlSingleLine.h |
index e8c3171b14b4d545b7002b42d80eaf4a64f44fa1..559efa3f0ab29b41b905e7146f86b552821267a5 100644 |
--- a/Source/core/layout/LayoutTextControlSingleLine.h |
+++ b/Source/core/layout/LayoutTextControlSingleLine.h |
@@ -67,7 +67,7 @@ private: |
void setScrollTop(LayoutUnit) final; |
int textBlockWidth() const; |
- float getAvgCharWidth(AtomicString family) final; |
+ float getAvgCharWidth(const AtomicString& family) const final; |
LayoutUnit preferredContentLogicalWidth(float charWidth) const final; |
LayoutUnit computeControlLogicalHeight(LayoutUnit lineHeight, LayoutUnit nonContentHeight) const override; |