Index: third_party/WebKit/Source/core/layout/line/BreakingContextInlineHeaders.h |
diff --git a/third_party/WebKit/Source/core/layout/line/BreakingContextInlineHeaders.h b/third_party/WebKit/Source/core/layout/line/BreakingContextInlineHeaders.h |
index 62ceade42a907e4930d366840be62c3e9f2c5da1..3a8fdd523ab6f7bb0cb5e011838733e28ee2d3fc 100644 |
--- a/third_party/WebKit/Source/core/layout/line/BreakingContextInlineHeaders.h |
+++ b/third_party/WebKit/Source/core/layout/line/BreakingContextInlineHeaders.h |
@@ -743,6 +743,10 @@ inline bool BreakingContext::handleText(WordMeasurements& wordMeasurements, bool |
// See: fast/css3-text/css3-word-break/word-break-all-wrap-with-floats.html |
float widthMeasurementAtLastBreakOpportunity = 0; |
+#if OS(ANDROID) |
+ // TODO(kojii): Temporary call getHyphenation() to measure the performance. |
+ style.getFontDescription().localeOrDefault().getHyphenation(); |
+#endif |
Hyphenation* hyphenation = style.getHyphenation(); |
bool disableSoftHyphen = style.getHyphens() == HyphensNone; |
float hyphenWidth = 0; |