diff options
Diffstat (limited to 'chromium/third_party/WebKit/Source/core/html/HTMLParamElement.cpp')
-rw-r--r-- | chromium/third_party/WebKit/Source/core/html/HTMLParamElement.cpp | 17 |
1 files changed, 2 insertions, 15 deletions
diff --git a/chromium/third_party/WebKit/Source/core/html/HTMLParamElement.cpp b/chromium/third_party/WebKit/Source/core/html/HTMLParamElement.cpp index 982d53d993f..63c65aed352 100644 --- a/chromium/third_party/WebKit/Source/core/html/HTMLParamElement.cpp +++ b/chromium/third_party/WebKit/Source/core/html/HTMLParamElement.cpp @@ -23,7 +23,7 @@ #include "config.h" #include "core/html/HTMLParamElement.h" -#include "HTMLNames.h" +#include "core/HTMLNames.h" #include "core/dom/Attribute.h" #include "core/dom/Document.h" @@ -37,10 +37,7 @@ inline HTMLParamElement::HTMLParamElement(Document& document) ScriptWrappable::init(this); } -PassRefPtr<HTMLParamElement> HTMLParamElement::create(Document& document) -{ - return adoptRef(new HTMLParamElement(document)); -} +DEFINE_NODE_FACTORY(HTMLParamElement) const AtomicString& HTMLParamElement::name() const { @@ -66,14 +63,4 @@ bool HTMLParamElement::isURLAttribute(const Attribute& attribute) const return HTMLElement::isURLAttribute(attribute); } -void HTMLParamElement::addSubresourceAttributeURLs(ListHashSet<KURL>& urls) const -{ - HTMLElement::addSubresourceAttributeURLs(urls); - - if (!isURLParameter(name())) - return; - - addSubresourceURL(urls, document().completeURL(value())); -} - } |