summaryrefslogtreecommitdiff
path: root/Source/WebCore/dom/StyledElement.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebCore/dom/StyledElement.cpp')
-rw-r--r--Source/WebCore/dom/StyledElement.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/WebCore/dom/StyledElement.cpp b/Source/WebCore/dom/StyledElement.cpp
index d4c5e94b9..576aa2284 100644
--- a/Source/WebCore/dom/StyledElement.cpp
+++ b/Source/WebCore/dom/StyledElement.cpp
@@ -148,14 +148,14 @@ CSSStyleDeclaration* StyledElement::style()
return ensureInlineStyle()->ensureInlineCSSStyleDeclaration(this);
}
-void StyledElement::attributeChanged(const Attribute& attribute)
+void StyledElement::attributeChanged(const QualifiedName& name, const AtomicString& newValue)
{
- if (isPresentationAttribute(attribute.name())) {
+ if (isPresentationAttribute(name)) {
setAttributeStyleDirty();
setNeedsStyleRecalc(InlineStyleChange);
}
- Element::attributeChanged(attribute);
+ Element::attributeChanged(name, newValue);
}
void StyledElement::styleAttributeChanged(const AtomicString& newStyleString, ShouldReparseStyleAttribute shouldReparse)