Index: third_party/WebKit/Source/core/layout/LayoutText.h |
diff --git a/third_party/WebKit/Source/core/layout/LayoutText.h b/third_party/WebKit/Source/core/layout/LayoutText.h |
index 19fd44aad856e49b470c8b7a372324ebe8a46216..4b8218f22267479b7af840e67baa215420ef1fee 100644 |
--- a/third_party/WebKit/Source/core/layout/LayoutText.h |
+++ b/third_party/WebKit/Source/core/layout/LayoutText.h |
@@ -279,7 +279,7 @@ inline UChar32 LayoutText::codepointAt(unsigned i) const |
inline float LayoutText::hyphenWidth(const Font& font, TextDirection direction) |
{ |
const ComputedStyle& style = styleRef(); |
- return font.width(constructTextRun(font, style.hyphenString().string(), style, direction)); |
+ return font.width(constructTextRun(font, style.hyphenString().getString(), style, direction)); |
} |
DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutText, isText()); |