From 815f1ed417bd26fbe2abbdf20ac5d3423b30796c Mon Sep 17 00:00:00 2001 From: Simon Hausmann Date: Mon, 23 Jul 2012 09:28:44 +0200 Subject: Imported WebKit commit e65cbc5b6ac32627c797e7fc7f46eb7794410c92 (http://svn.webkit.org/repository/webkit/trunk@123308) New snapshot with better configure tests --- Source/WebCore/html/HTMLDetailsElement.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'Source/WebCore/html/HTMLDetailsElement.cpp') diff --git a/Source/WebCore/html/HTMLDetailsElement.cpp b/Source/WebCore/html/HTMLDetailsElement.cpp index 531bd3306..86a7b48ca 100644 --- a/Source/WebCore/html/HTMLDetailsElement.cpp +++ b/Source/WebCore/html/HTMLDetailsElement.cpp @@ -21,8 +21,7 @@ #include "config.h" #include "HTMLDetailsElement.h" -#if ENABLE(DETAILS) - +#if ENABLE(DETAILS_ELEMENT) #include "ElementShadow.h" #include "HTMLContentElement.h" #include "HTMLNames.h" @@ -124,7 +123,7 @@ Element* HTMLDetailsElement::findMainSummary() const return toElement(child); } - return static_cast(shadow()->oldestShadowRoot()->firstChild())->fallbackSummary(); + return static_cast(userAgentShadowRoot()->firstChild())->fallbackSummary(); } void HTMLDetailsElement::parseAttribute(const Attribute& attribute) -- cgit v1.2.1