| Index: third_party/WebKit/Source/core/layout/LayoutTextControlSingleLine.cpp
|
| diff --git a/third_party/WebKit/Source/core/layout/LayoutTextControlSingleLine.cpp b/third_party/WebKit/Source/core/layout/LayoutTextControlSingleLine.cpp
|
| index df2aee284ba6d6eb3324fbaea5393ae000a4b7e4..820c0a70ea0a8799d252b7b87cf0b379e01b4d79 100644
|
| --- a/third_party/WebKit/Source/core/layout/LayoutTextControlSingleLine.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/LayoutTextControlSingleLine.cpp
|
| @@ -231,7 +231,7 @@ LayoutUnit LayoutTextControlSingleLine::preferredContentLogicalWidth(float charW
|
| LayoutUnit result = LayoutUnit::fromFloatCeil(charWidth * factor);
|
|
|
| float maxCharWidth = 0.f;
|
| - AtomicString family = styleRef().font().fontDescription().family().family();
|
| + AtomicString family = styleRef().font().getFontDescription().family().family();
|
| // Match the default system font to the width of MS Shell Dlg, the default
|
| // font for textareas in Firefox, Safari Win and IE for some encodings (in
|
| // IE, the default font is encoding specific). 4027 is the (xMax - xMin)
|
|
|