Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(252)

Unified Diff: Source/WebCore/html/shadow/HTMLContentElement.cpp

Issue 9959089: Disabled <content> element (Closed) Base URL: http://svn.webkit.org/repository/webkit/trunk
Patch Set: Fixed the build error Created 8 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/WebCore/html/HTMLTagNames.in ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/WebCore/html/shadow/HTMLContentElement.cpp
diff --git a/Source/WebCore/html/shadow/HTMLContentElement.cpp b/Source/WebCore/html/shadow/HTMLContentElement.cpp
index 8c6edb6e8b713fdc145090171c99dc4c36122ef1..d5478c98b4b87a64e7f0c80f9baf279f8a7e0446 100644
--- a/Source/WebCore/html/shadow/HTMLContentElement.cpp
+++ b/Source/WebCore/html/shadow/HTMLContentElement.cpp
@@ -40,12 +40,8 @@ using HTMLNames::selectAttr;
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)
« no previous file with comments | « Source/WebCore/html/HTMLTagNames.in ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698