| Index: Source/core/page/PageSerializer.cpp
|
| diff --git a/Source/core/page/PageSerializer.cpp b/Source/core/page/PageSerializer.cpp
|
| index 32d12d4faa2b159558b91ca9c7b4936471c5e2e3..ac6978d8caeaf01949f6c0927014f819b4740416 100644
|
| --- a/Source/core/page/PageSerializer.cpp
|
| +++ b/Source/core/page/PageSerializer.cpp
|
| @@ -77,9 +77,9 @@ static bool isCharsetSpecifyingNode(const Node& node)
|
| const HTMLMetaElement& element = toHTMLMetaElement(node);
|
| HTMLAttributeList attributeList;
|
| if (element.hasAttributes()) {
|
| - AttributeIteratorAccessor attributes = element.attributesIterator();
|
| - AttributeConstIterator end = attributes.end();
|
| - for (AttributeConstIterator it = attributes.begin(); it != end; ++it) {
|
| + AttributeCollection attributes = element.attributes();
|
| + AttributeCollection::const_iterator end = attributes.end();
|
| + for (AttributeCollection::const_iterator it = attributes.begin(); it != end; ++it) {
|
| // FIXME: We should deal appropriately with the attribute if they have a namespace.
|
| attributeList.append(std::make_pair(it->name().localName(), it->value().string()));
|
| }
|
|
|