| Index: Source/core/html/HTMLEmbedElement.cpp
|
| diff --git a/Source/core/html/HTMLEmbedElement.cpp b/Source/core/html/HTMLEmbedElement.cpp
|
| index 7083867333d41bf1038b7ae806467460310adf8d..20c268111b4c816c67f57e96732eb5a677e00f5c 100644
|
| --- a/Source/core/html/HTMLEmbedElement.cpp
|
| +++ b/Source/core/html/HTMLEmbedElement.cpp
|
| @@ -60,7 +60,7 @@ static inline RenderPart* findPartRenderer(const Node* n)
|
| if (n && n->renderer() && n->renderer()->isRenderPart())
|
| return toRenderPart(n->renderer());
|
|
|
| - return 0;
|
| + return nullptr;
|
| }
|
|
|
| RenderPart* HTMLEmbedElement::existingRenderPart() const
|
| @@ -113,10 +113,9 @@ void HTMLEmbedElement::parseAttribute(const QualifiedName& name, const AtomicStr
|
| void HTMLEmbedElement::parametersForPlugin(Vector<String>& paramNames, Vector<String>& paramValues)
|
| {
|
| AttributeCollection attributes = this->attributes();
|
| - AttributeCollection::iterator end = attributes.end();
|
| - for (AttributeCollection::iterator it = attributes.begin(); it != end; ++it) {
|
| - paramNames.append(it->localName().string());
|
| - paramValues.append(it->value().string());
|
| + for (const Attribute& attribute : attributes) {
|
| + paramNames.append(attribute.localName().string());
|
| + paramValues.append(attribute.value().string());
|
| }
|
| }
|
|
|
|
|