Index: Source/core/html/HTMLEmbedElement.cpp |
diff --git a/Source/core/html/HTMLEmbedElement.cpp b/Source/core/html/HTMLEmbedElement.cpp |
index abde0ff512a4d2dbec93a90996589e4b2dd6f2be..37fc29337b2512617bf2033cd0ba8b5899bf9deb 100644 |
--- a/Source/core/html/HTMLEmbedElement.cpp |
+++ b/Source/core/html/HTMLEmbedElement.cpp |
@@ -117,9 +117,9 @@ void HTMLEmbedElement::parametersForPlugin(Vector<String>& paramNames, Vector<St |
unsigned attributeCount = this->attributeCount(); |
for (unsigned i = 0; i < attributeCount; ++i) { |
- const Attribute* attribute = attributeItem(i); |
- paramNames.append(attribute->localName().string()); |
- paramValues.append(attribute->value().string()); |
+ const Attribute& attribute = attributeItem(i); |
+ paramNames.append(attribute.localName().string()); |
+ paramValues.append(attribute.value().string()); |
} |
} |