| Index: Source/core/html/HTMLObjectElement.cpp
|
| diff --git a/Source/core/html/HTMLObjectElement.cpp b/Source/core/html/HTMLObjectElement.cpp
|
| index af48c0c02dec5f6ed121a9f8180569064af5c54e..2bb33528650898666d1c8fbb294e371377b8e694 100644
|
| --- a/Source/core/html/HTMLObjectElement.cpp
|
| +++ b/Source/core/html/HTMLObjectElement.cpp
|
| @@ -187,12 +187,11 @@ void HTMLObjectElement::parametersForPlugin(Vector<String>& paramNames, Vector<S
|
|
|
| // Turn the attributes of the <object> element into arrays, but don't override <param> values.
|
| AttributeCollection attributes = this->attributes();
|
| - AttributeCollection::iterator end = attributes.end();
|
| - for (AttributeCollection::iterator it = attributes.begin(); it != end; ++it) {
|
| - const AtomicString& name = it->name().localName();
|
| + for (const Attribute& attribute : attributes) {
|
| + const AtomicString& name = attribute.name().localName();
|
| if (!uniqueParamNames.contains(name.impl())) {
|
| paramNames.append(name.string());
|
| - paramValues.append(it->value().string());
|
| + paramValues.append(attribute.value().string());
|
| }
|
| }
|
|
|
|
|