| Index: Source/core/rendering/RenderInline.cpp
|
| diff --git a/Source/core/rendering/RenderInline.cpp b/Source/core/rendering/RenderInline.cpp
|
| index e57e0b8cf3a6db0575aa6015261e12923e9eb106..0ab24231d7ef4bdc4ba96ca54e501d4a2c3f81ce 100644
|
| --- a/Source/core/rendering/RenderInline.cpp
|
| +++ b/Source/core/rendering/RenderInline.cpp
|
| @@ -216,7 +216,7 @@ void RenderInline::updateAlwaysCreateLineBoxes(bool fullLayout)
|
| || parentStyle->lineHeight() != style()->lineHeight()))
|
| || (flowThread && flowThread->hasRegionsWithStyling());
|
|
|
| - if (!alwaysCreateLineBoxes && checkFonts && document().styleSheetCollections()->usesFirstLineRules()) {
|
| + if (!alwaysCreateLineBoxes && checkFonts && document().styleEngine()->usesFirstLineRules()) {
|
| // Have to check the first line style as well.
|
| parentStyle = parent()->style(true);
|
| RenderStyle* childStyle = style(true);
|
| @@ -1287,7 +1287,7 @@ InlineFlowBox* RenderInline::createAndAppendInlineFlowBox()
|
|
|
| LayoutUnit RenderInline::lineHeight(bool firstLine, LineDirectionMode /*direction*/, LinePositionMode /*linePositionMode*/) const
|
| {
|
| - if (firstLine && document().styleSheetCollections()->usesFirstLineRules()) {
|
| + if (firstLine && document().styleEngine()->usesFirstLineRules()) {
|
| RenderStyle* s = style(firstLine);
|
| if (s != style())
|
| return s->computedLineHeight(view());
|
|
|