Index: Source/WebCore/html/parser/HTMLConstructionSite.cpp |
=================================================================== |
--- Source/WebCore/html/parser/HTMLConstructionSite.cpp (revision 148876) |
+++ Source/WebCore/html/parser/HTMLConstructionSite.cpp (working copy) |
@@ -59,7 +59,7 @@ |
static inline void setAttributes(Element* element, AtomicHTMLToken* token, ParserContentPolicy parserContentPolicy) |
{ |
if (!scriptingContentIsAllowed(parserContentPolicy)) |
- element->stripJavaScriptAttributes(token->attributes()); |
+ element->stripScriptingAttributes(token->attributes()); |
element->parserSetAttributes(token->attributes()); |
} |