| Index: Source/core/rendering/RenderMenuList.h
|
| diff --git a/Source/core/rendering/RenderMenuList.h b/Source/core/rendering/RenderMenuList.h
|
| index c6db7fc863a3b11a061683d2f5fe29b382dba7ca..3a7ea51b281b1505bc8d0a117a51881e15853f4a 100644
|
| --- a/Source/core/rendering/RenderMenuList.h
|
| +++ b/Source/core/rendering/RenderMenuList.h
|
| @@ -57,11 +57,11 @@ public:
|
| private:
|
| HTMLSelectElement* selectElement() const;
|
|
|
| - virtual bool isOfType(RenderObjectType type) const override { return type == RenderObjectMenuList || RenderFlexibleBox::isOfType(type); }
|
| - virtual bool isChildAllowed(RenderObject*, const RenderStyle&) const override;
|
| + virtual bool isOfType(LayoutObjectType type) const override { return type == LayoutObjectMenuList || RenderFlexibleBox::isOfType(type); }
|
| + virtual bool isChildAllowed(LayoutObject*, const RenderStyle&) const override;
|
|
|
| - virtual void addChild(RenderObject* newChild, RenderObject* beforeChild = 0) override;
|
| - virtual void removeChild(RenderObject*) override;
|
| + virtual void addChild(LayoutObject* newChild, LayoutObject* beforeChild = 0) override;
|
| + virtual void removeChild(LayoutObject*) override;
|
| virtual bool createsAnonymousWrapper() const override { return true; }
|
|
|
| virtual void updateFromElement() override;
|
| @@ -135,7 +135,7 @@ private:
|
| bool m_popupIsVisible;
|
| };
|
|
|
| -DEFINE_RENDER_OBJECT_TYPE_CASTS(RenderMenuList, isMenuList());
|
| +DEFINE_LAYOUT_OBJECT_TYPE_CASTS(RenderMenuList, isMenuList());
|
|
|
| }
|
|
|
|
|