Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1059)

Unified Diff: Source/core/rendering/RenderMenuList.h

Issue 899163003: Move rendering/RenderObject to layout/LayoutObject. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/rendering/RenderMediaControls.cpp ('k') | Source/core/rendering/RenderMenuList.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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());
}
« no previous file with comments | « Source/core/rendering/RenderMediaControls.cpp ('k') | Source/core/rendering/RenderMenuList.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698