| Index: third_party/WebKit/Source/core/layout/line/RootInlineBox.cpp
|
| diff --git a/third_party/WebKit/Source/core/layout/line/RootInlineBox.cpp b/third_party/WebKit/Source/core/layout/line/RootInlineBox.cpp
|
| index 0927b4b821a68677684033df684baea0a99adfa2..b0ee1cb8e807f95dcd6f2d64ce599689bb9fe785 100644
|
| --- a/third_party/WebKit/Source/core/layout/line/RootInlineBox.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/line/RootInlineBox.cpp
|
| @@ -602,11 +602,12 @@ void RootInlineBox::ascentAndDescentForBox(
|
| bool includeLeading = includeLeadingForBox(box);
|
| bool setUsedFontWithLeading = false;
|
|
|
| - if (usedFonts && !usedFonts->isEmpty() && (box->getLineLayoutItem()
|
| - .style(isFirstLineStyle())
|
| - ->lineHeight()
|
| - .isNegative() &&
|
| - includeLeading)) {
|
| + if (usedFonts && !usedFonts->isEmpty() &&
|
| + (box->getLineLayoutItem()
|
| + .style(isFirstLineStyle())
|
| + ->lineHeight()
|
| + .isNegative() &&
|
| + includeLeading)) {
|
| usedFonts->push_back(box->getLineLayoutItem()
|
| .style(isFirstLineStyle())
|
| ->font()
|
|
|