diff options
Diffstat (limited to 'Source/WebCore/html/HTMLQuoteElement.cpp')
-rw-r--r-- | Source/WebCore/html/HTMLQuoteElement.cpp | 13 |
1 files changed, 2 insertions, 11 deletions
diff --git a/Source/WebCore/html/HTMLQuoteElement.cpp b/Source/WebCore/html/HTMLQuoteElement.cpp index 96d2d9110..7cddafa11 100644 --- a/Source/WebCore/html/HTMLQuoteElement.cpp +++ b/Source/WebCore/html/HTMLQuoteElement.cpp @@ -24,7 +24,6 @@ #include "HTMLQuoteElement.h" #include "Document.h" -#include "DocumentStyleSheetCollection.h" #include "HTMLNames.h" namespace WebCore { @@ -37,17 +36,9 @@ inline HTMLQuoteElement::HTMLQuoteElement(const QualifiedName& tagName, Document ASSERT(hasTagName(qTag) || hasTagName(blockquoteTag)); } -PassRefPtr<HTMLQuoteElement> HTMLQuoteElement::create(const QualifiedName& tagName, Document& document) +Ref<HTMLQuoteElement> HTMLQuoteElement::create(const QualifiedName& tagName, Document& document) { - return adoptRef(new HTMLQuoteElement(tagName, document)); -} - -Node::InsertionNotificationRequest HTMLQuoteElement::insertedInto(ContainerNode& insertionPoint) -{ - if (hasTagName(qTag)) - document().styleSheetCollection().setUsesBeforeAfterRulesOverride(true); - - return HTMLElement::insertedInto(insertionPoint); + return adoptRef(*new HTMLQuoteElement(tagName, document)); } bool HTMLQuoteElement::isURLAttribute(const Attribute& attribute) const |