Index: Source/core/rendering/RenderObject.cpp |
diff --git a/Source/core/rendering/RenderObject.cpp b/Source/core/rendering/RenderObject.cpp |
index abd3214a1dab818033b16d538add9a5afc4b6959..14f5b0ea59fd9c3f412b62d5848f0a42585526c6 100644 |
--- a/Source/core/rendering/RenderObject.cpp |
+++ b/Source/core/rendering/RenderObject.cpp |
@@ -195,7 +195,7 @@ RenderObject* RenderObject::createObject(Element* element, RenderStyle* style) |
return new RenderTableCaption(element); |
case BOX: |
case INLINE_BOX: |
- return new RenderDeprecatedFlexibleBox(element); |
+ return new RenderDeprecatedFlexibleBox(*element); |
case FLEX: |
case INLINE_FLEX: |
return new RenderFlexibleBox(element); |