Index: Source/core/rendering/InlineBox.h |
diff --git a/Source/core/rendering/InlineBox.h b/Source/core/rendering/InlineBox.h |
index f319c846d5d08bd55e5e603e2bffe75f64e64a10..6af6ae8ab541fb58e5141754730ae2d5f9448304 100644 |
--- a/Source/core/rendering/InlineBox.h |
+++ b/Source/core/rendering/InlineBox.h |
@@ -275,7 +275,7 @@ public: |
bool visibleToHitTestRequest(const HitTestRequest& request) const { return renderer().visibleToHitTestRequest(request); } |
- EVerticalAlign verticalAlign() const { return renderer().style(m_bitfields.firstLine())->verticalAlign(); } |
+ EVerticalAlign verticalAlign() const { return renderer().styleOrFirstLineStyle(m_bitfields.firstLine())->verticalAlign(); } |
// Use with caution! The type is not checked! |
RenderBoxModelObject* boxModelObject() const |