Upstream version 5.34.104.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / Source / core / rendering / RenderDeprecatedFlexibleBox.h
index 8094d04..91ba298 100644 (file)
@@ -46,7 +46,7 @@ public:
 
     virtual bool avoidsFloats() const OVERRIDE { return true; }
     virtual bool isDeprecatedFlexibleBox() const OVERRIDE { return true; }
-    virtual bool isStretchingChildren() const OVERRIDE { return m_stretchingChildren; }
+    bool isStretchingChildren() const { return m_stretchingChildren; }
     virtual bool canCollapseAnonymousBlockChild() const OVERRIDE { return false; }
 
     void placeChild(RenderBox* child, const LayoutPoint& location);
@@ -70,6 +70,8 @@ private:
     void clearLineClamp();
 };
 
+DEFINE_RENDER_OBJECT_TYPE_CASTS(RenderDeprecatedFlexibleBox, isDeprecatedFlexibleBox());
+
 } // namespace WebCore
 
 #endif // RenderDeprecatedFlexibleBox_h