| Index: Source/core/layout/LayoutTheme.cpp
|
| diff --git a/Source/core/layout/LayoutTheme.cpp b/Source/core/layout/LayoutTheme.cpp
|
| index d7f0953d86d9efe7d77e11e1123b565d8da5dca2..df6783230672cc6a39b390817d791c3628a86c78 100644
|
| --- a/Source/core/layout/LayoutTheme.cpp
|
| +++ b/Source/core/layout/LayoutTheme.cpp
|
| @@ -532,7 +532,7 @@ int LayoutTheme::baselinePosition(const LayoutObject* o) const
|
| if (!o->isBox())
|
| return 0;
|
|
|
| - const RenderBox* box = toRenderBox(o);
|
| + const LayoutBox* box = toLayoutBox(o);
|
|
|
| #if USE(NEW_THEME)
|
| return box->size().height() + box->marginTop() + m_platformTheme->baselinePositionAdjustment(o->style()->appearance()) * o->style()->effectiveZoom();
|
|
|