From 1bf1084f2b10c3b47fd1a588d85d21ed0eb41d0c Mon Sep 17 00:00:00 2001 From: Lorry Tar Creator Date: Tue, 27 Jun 2017 06:07:23 +0000 Subject: webkitgtk-2.16.5 --- Source/WebCore/html/HTMLQuoteElement.cpp | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) (limited to 'Source/WebCore/html/HTMLQuoteElement.cpp') 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::create(const QualifiedName& tagName, Document& document) +Ref 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 -- cgit v1.2.1