Index: third_party/WebKit/Source/core/style/ComputedStyle.cpp |
diff --git a/third_party/WebKit/Source/core/style/ComputedStyle.cpp b/third_party/WebKit/Source/core/style/ComputedStyle.cpp |
index 8f5d6fb33f8b9fe0804b06bc60f51b422a48628d..91e8e30419c3d3e373269f1cbc0a74e1888e1d7c 100644 |
--- a/third_party/WebKit/Source/core/style/ComputedStyle.cpp |
+++ b/third_party/WebKit/Source/core/style/ComputedStyle.cpp |
@@ -1253,6 +1253,12 @@ void ComputedStyle::clearResetDirectives() |
it->value.clearReset(); |
} |
+Hyphenation* ComputedStyle::getHyphenation() const |
+{ |
+ return getHyphens() == HyphensAuto |
+ ? getFontDescription().localeOrDefault().getHyphenation() : nullptr; |
+} |
+ |
const AtomicString& ComputedStyle::hyphenString() const |
{ |
const AtomicString& hyphenationString = m_rareInheritedData.get()->hyphenationString; |