| Index: Source/core/inspector/DOMPatchSupport.cpp
|
| diff --git a/Source/core/inspector/DOMPatchSupport.cpp b/Source/core/inspector/DOMPatchSupport.cpp
|
| index 755816d541e780d97e8f294a96f5ce5ffea3acf7..6f477d9846584a420685d38bb69b1ec28cd5c545 100644
|
| --- a/Source/core/inspector/DOMPatchSupport.cpp
|
| +++ b/Source/core/inspector/DOMPatchSupport.cpp
|
| @@ -188,8 +188,8 @@ bool DOMPatchSupport::innerPatchNode(Digest* oldDigest, Digest* newDigest, Excep
|
| if (oldDigest->m_attrsSHA1 != newDigest->m_attrsSHA1) {
|
| // FIXME: Create a function in Element for removing all properties. Take in account whether did/willModifyAttribute are important.
|
| if (oldElement->hasAttributesWithoutUpdate()) {
|
| - while (oldElement->attributeCount()) {
|
| - const Attribute& attribute = oldElement->attributeAt(0);
|
| + while (oldElement->attributes().size()) {
|
| + const Attribute& attribute = oldElement->attributes().at(0);
|
| if (!m_domEditor->removeAttribute(oldElement, attribute.localName(), exceptionState))
|
| return false;
|
| }
|
|
|