From 1b914638db989aaa98631a1c1e02c7b2d44805d8 Mon Sep 17 00:00:00 2001 From: Simon Hausmann Date: Fri, 11 May 2012 09:43:24 +0200 Subject: Imported WebKit commit 9a52e27980f47e8b0d8f8b7cc0fd7b5741bceb92 (http://svn.webkit.org/repository/webkit/trunk@116736) New snapshot to include QDeclarative* -> QQml* build fixes --- Source/WebCore/html/HTMLScriptElement.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Source/WebCore/html/HTMLScriptElement.cpp') diff --git a/Source/WebCore/html/HTMLScriptElement.cpp b/Source/WebCore/html/HTMLScriptElement.cpp index 244fc4f00..0e37be8d7 100644 --- a/Source/WebCore/html/HTMLScriptElement.cpp +++ b/Source/WebCore/html/HTMLScriptElement.cpp @@ -47,9 +47,9 @@ PassRefPtr HTMLScriptElement::create(const QualifiedName& tag return adoptRef(new HTMLScriptElement(tagName, document, wasInsertedByParser, false)); } -bool HTMLScriptElement::isURLAttribute(Attribute* attr) const +bool HTMLScriptElement::isURLAttribute(const Attribute& attribute) const { - return attr->name() == srcAttr || HTMLElement::isURLAttribute(attr); + return attribute.name() == srcAttr || HTMLElement::isURLAttribute(attribute); } void HTMLScriptElement::childrenChanged(bool changedByParser, Node* beforeChange, Node* afterChange, int childCountDelta) -- cgit v1.2.1