Index: third_party/WebKit/Source/core/html/HTMLSummaryElement.cpp |
diff --git a/third_party/WebKit/Source/core/html/HTMLSummaryElement.cpp b/third_party/WebKit/Source/core/html/HTMLSummaryElement.cpp |
index d1f2f151afd7892ede89b6fbd6040494a8239cd5..3d59789e0f4f90f244330794bd51ef56b33f62e5 100644 |
--- a/third_party/WebKit/Source/core/html/HTMLSummaryElement.cpp |
+++ b/third_party/WebKit/Source/core/html/HTMLSummaryElement.cpp |
@@ -47,9 +47,9 @@ HTMLSummaryElement::HTMLSummaryElement(Document& document) |
{ |
} |
-LayoutObject* HTMLSummaryElement::createLayoutObject(const ComputedStyle&) |
+LayoutObject* HTMLSummaryElement::createLayoutObject(const ComputedStyle& style) |
{ |
- return new LayoutBlockFlow(this); |
+ return new LayoutObject::createObject(this, style); |
} |
void HTMLSummaryElement::didAddUserAgentShadowRoot(ShadowRoot& root) |