Index: third_party/WebKit/Source/core/layout/LayoutTextControl.h |
diff --git a/third_party/WebKit/Source/core/layout/LayoutTextControl.h b/third_party/WebKit/Source/core/layout/LayoutTextControl.h |
index 221d2d7d95d8f2df89b5062297e57b16b741cde0..002c6cd572c40dc06f2c27e25953867566e7c255 100644 |
--- a/third_party/WebKit/Source/core/layout/LayoutTextControl.h |
+++ b/third_party/WebKit/Source/core/layout/LayoutTextControl.h |
@@ -58,7 +58,7 @@ protected: |
float scaleEmToUnits(int x) const; |
- static bool hasValidAvgCharWidth(const AtomicString& family); |
+ static bool hasValidAvgCharWidth(const SimpleFontData*, 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; |