| Index: Source/core/layout/line/InlineBox.h
|
| diff --git a/Source/core/layout/line/InlineBox.h b/Source/core/layout/line/InlineBox.h
|
| index aee4bb565721e2d2bf1a51abb90538131c579a1f..f1e838f78d0aa5ce2caa14bcf0d877f13a74d8ef 100644
|
| --- a/Source/core/layout/line/InlineBox.h
|
| +++ b/Source/core/layout/line/InlineBox.h
|
| @@ -21,9 +21,9 @@
|
| #ifndef InlineBox_h
|
| #define InlineBox_h
|
|
|
| +#include "core/layout/LayoutBoxModelObject.h"
|
| #include "core/layout/LayoutObject.h"
|
| #include "core/layout/line/FloatToLayoutUnit.h"
|
| -#include "core/rendering/RenderBoxModelObject.h"
|
| #include "platform/graphics/paint/DisplayItemClient.h"
|
| #include "platform/text/TextDirection.h"
|
|
|
| @@ -281,10 +281,10 @@ public:
|
| EVerticalAlign verticalAlign() const { return renderer().style(m_bitfields.firstLine())->verticalAlign(); }
|
|
|
| // Use with caution! The type is not checked!
|
| - RenderBoxModelObject* boxModelObject() const
|
| + LayoutBoxModelObject* boxModelObject() const
|
| {
|
| if (!renderer().isText())
|
| - return toRenderBoxModelObject(&renderer());
|
| + return toLayoutBoxModelObject(&renderer());
|
| return 0;
|
| }
|
|
|
|
|