Chromium Code Reviews| Index: sky/engine/core/dom/Element.cpp |
| diff --git a/sky/engine/core/dom/Element.cpp b/sky/engine/core/dom/Element.cpp |
| index 367843c5dd2b0fae2e187ba0c2067786f09e2888..498dcf8b5755b7f7697c5498723bece8cbc1fdaa 100644 |
| --- a/sky/engine/core/dom/Element.cpp |
| +++ b/sky/engine/core/dom/Element.cpp |
| @@ -975,14 +975,14 @@ void Element::setMaxContentWidth(double width) |
| double Element::alphabeticBaseline() const |
| { |
| if (RenderBox* box = renderBox()) |
| - return box->baselinePosition(AlphabeticBaseline, true, HorizontalLine, PositionOfInteriorLineBoxes); |
| + return box->firstLineBoxBaseline(false, AlphabeticBaseline); |
|
eseidel
2015/06/24 23:20:35
Please use an enum instead of a bool in non-setter
|
| return 0; |
| } |
| double Element::ideographicBaseline() const |
| { |
| if (RenderBox* box = renderBox()) |
| - return box->baselinePosition(IdeographicBaseline, true, HorizontalLine, PositionOfInteriorLineBoxes); |
| + return box->firstLineBoxBaseline(false, IdeographicBaseline); |
| return 0; |
| } |