Title: [112979] branches/chromium/1025/Source/WebCore/html
Revision
112979
Author
[email protected]
Date
2012-04-02 20:21:01 -0700 (Mon, 02 Apr 2012)

Log Message

Disable content element.

BUG=114667
[email protected]
Review URL: https://chromiumcodereview.appspot.com/9959089

Modified Paths

Diff

Modified: branches/chromium/1025/Source/WebCore/html/HTMLTagNames.in (112978 => 112979)


--- branches/chromium/1025/Source/WebCore/html/HTMLTagNames.in	2012-04-03 03:00:48 UTC (rev 112978)
+++ branches/chromium/1025/Source/WebCore/html/HTMLTagNames.in	2012-04-03 03:21:01 UTC (rev 112979)
@@ -31,7 +31,6 @@
 col interfaceName=HTMLTableColElement
 colgroup interfaceName=HTMLTableColElement
 command interfaceName=HTMLElement
-content interfaceName=HTMLContentElement, conditional=SHADOW_DOM
 datalist interfaceName=HTMLDataListElement, conditional=DATALIST
 dd interfaceName=HTMLElement
 del interfaceName=HTMLModElement

Modified: branches/chromium/1025/Source/WebCore/html/shadow/HTMLContentElement.cpp (112978 => 112979)


--- branches/chromium/1025/Source/WebCore/html/shadow/HTMLContentElement.cpp	2012-04-03 03:00:48 UTC (rev 112978)
+++ branches/chromium/1025/Source/WebCore/html/shadow/HTMLContentElement.cpp	2012-04-03 03:21:01 UTC (rev 112979)
@@ -40,12 +40,8 @@
 
 static const QualifiedName& contentTagName()
 {
-#if ENABLE(SHADOW_DOM)
-    return HTMLNames::contentTag;
-#else
     DEFINE_STATIC_LOCAL(QualifiedName, tagName, (nullAtom, "webkitShadowContent", HTMLNames::divTag.namespaceURI()));
     return tagName;
-#endif
 }
 
 PassRefPtr<HTMLContentElement> HTMLContentElement::create(Document* document)
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to