summaryrefslogtreecommitdiff
path: root/Source/WebCore/rendering/RenderInline.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebCore/rendering/RenderInline.h')
-rw-r--r--Source/WebCore/rendering/RenderInline.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/WebCore/rendering/RenderInline.h b/Source/WebCore/rendering/RenderInline.h
index 562ff47b9..5bc954a0b 100644
--- a/Source/WebCore/rendering/RenderInline.h
+++ b/Source/WebCore/rendering/RenderInline.h
@@ -35,6 +35,9 @@ class RenderInline : public RenderBoxModelObject {
public:
explicit RenderInline(Node*);
+ RenderObject* firstChild() const { ASSERT(children() == virtualChildren()); return children()->firstChild(); }
+ RenderObject* lastChild() const { ASSERT(children() == virtualChildren()); return children()->lastChild(); }
+
virtual void addChild(RenderObject* newChild, RenderObject* beforeChild = 0);
virtual LayoutUnit marginLeft() const;