Index: Source/core/html/HTMLDetailsElement.cpp |
diff --git a/Source/core/html/HTMLDetailsElement.cpp b/Source/core/html/HTMLDetailsElement.cpp |
index f05719de38e9c287720e9cda9cffe77ca50deb05..b2fb3b55f37f94cfc1e1808ee83fe2fb57fb3d4c 100644 |
--- a/Source/core/html/HTMLDetailsElement.cpp |
+++ b/Source/core/html/HTMLDetailsElement.cpp |
@@ -135,8 +135,8 @@ void HTMLDetailsElement::parseAttribute(const QualifiedName& name, const AtomicS |
ASSERT(summary); |
Element* control = toHTMLSummaryElement(summary)->markerControl(); |
- if (control && control->renderer()) |
- control->renderer()->setShouldDoFullPaintInvalidation(); |
+ if (control && control->layoutObject()) |
+ control->layoutObject()->setShouldDoFullPaintInvalidation(); |
return; |
} |