Move URL from WebCore to WTF
[WebKit-https.git] / Source / WebCore / dom / Element.cpp
index 88207e5..5a15a69 100644 (file)
@@ -1720,7 +1720,7 @@ bool Element::isEventHandlerAttribute(const Attribute& attribute) const
 
 bool Element::isJavaScriptURLAttribute(const Attribute& attribute) const
 {
-    return isURLAttribute(attribute) && protocolIsJavaScript(stripLeadingAndTrailingHTMLSpaces(attribute.value()));
+    return isURLAttribute(attribute) && WTF::protocolIsJavaScript(stripLeadingAndTrailingHTMLSpaces(attribute.value()));
 }
 
 void Element::stripScriptingAttributes(Vector<Attribute>& attributeVector) const