| Index: Source/core/layout/LayoutTextControl.h
|
| diff --git a/Source/core/layout/LayoutTextControl.h b/Source/core/layout/LayoutTextControl.h
|
| index 2efb3c79a24241f61509727def734a5e6a9679b4..cea44b2196b4d90330a4a370e8b37e5c0fc894b9 100644
|
| --- a/Source/core/layout/LayoutTextControl.h
|
| +++ b/Source/core/layout/LayoutTextControl.h
|
| @@ -58,8 +58,8 @@ protected:
|
|
|
| float scaleEmToUnits(int x) const;
|
|
|
| - static bool hasValidAvgCharWidth(AtomicString family);
|
| - virtual float getAvgCharWidth(AtomicString family);
|
| + static bool hasValidAvgCharWidth(const AtomicString& family);
|
| + virtual float getAvgCharWidth(const AtomicString& family) const;
|
| virtual LayoutUnit preferredContentLogicalWidth(float charWidth) const = 0;
|
| virtual LayoutUnit computeControlLogicalHeight(LayoutUnit lineHeight, LayoutUnit nonContentHeight) const = 0;
|
|
|
|
|