| Index: Source/core/style/ComputedStyle.cpp
|
| diff --git a/Source/core/style/ComputedStyle.cpp b/Source/core/style/ComputedStyle.cpp
|
| index 0d17e0807421c34b9c62b6dfb2c6333563dc27c1..c01ddf928a2c652f6b556d64357ec39ae634dc64 100644
|
| --- a/Source/core/style/ComputedStyle.cpp
|
| +++ b/Source/core/style/ComputedStyle.cpp
|
| @@ -1128,7 +1128,9 @@ const AtomicString& ComputedStyle::hyphenString() const
|
| // FIXME: This should depend on locale.
|
| DEFINE_STATIC_LOCAL(AtomicString, hyphenMinusString, (&hyphenMinusCharacter, 1));
|
| DEFINE_STATIC_LOCAL(AtomicString, hyphenString, (&hyphenCharacter, 1));
|
| - return font().primaryFontHasGlyphForCharacter(hyphenCharacter) ? hyphenString : hyphenMinusString;
|
| + const SimpleFontData* primaryFont = font().primaryFont();
|
| + ASSERT(primaryFont);
|
| + return primaryFont->glyphForCharacter(hyphenCharacter) ? hyphenString : hyphenMinusString;
|
| }
|
|
|
| const AtomicString& ComputedStyle::textEmphasisMarkString() const
|
|
|