Index: Source/core/layout/LayoutText.cpp |
diff --git a/Source/core/layout/LayoutText.cpp b/Source/core/layout/LayoutText.cpp |
index 37dc21c7a7457d1cffeb0fb537cb1bfac9a2c1da..bb26cf249b6678095bf49506522d16b14d64e66f 100644 |
--- a/Source/core/layout/LayoutText.cpp |
+++ b/Source/core/layout/LayoutText.cpp |
@@ -709,7 +709,7 @@ LayoutRect LayoutText::localCaretRect(InlineBox* inlineBox, int caretOffset, Lay |
ALWAYS_INLINE float LayoutText::widthFromCache(const Font& f, int start, int len, float xPos, TextDirection textDirection, HashSet<const SimpleFontData*>* fallbackFonts, GlyphOverflow* glyphOverflow) const |
{ |
- if (style()->hasTextCombine() && isCombineText()) { |
+ if (isCombineText()) { |
Julien - ping for review
2015/06/01 19:13:47
We were only creating LayoutCombineText nodes if s
mstensho (USE GERRIT)
2015/06/01 19:31:37
-webkit-combine-text isn't an inherited property.
|
const LayoutTextCombine* combineText = toLayoutTextCombine(this); |
if (combineText->isCombined()) |
return combineText->combinedTextWidth(f); |