Index: Source/core/inspector/DOMPatchSupport.cpp |
diff --git a/Source/core/inspector/DOMPatchSupport.cpp b/Source/core/inspector/DOMPatchSupport.cpp |
index a5dc95cd7136982cfe4566cfd082ff96a7f8c83e..67c9718b4e422b0356411fab07752a78c10ffd73 100644 |
--- a/Source/core/inspector/DOMPatchSupport.cpp |
+++ b/Source/core/inspector/DOMPatchSupport.cpp |
@@ -244,13 +244,11 @@ DOMPatchSupport::diff(const Vector<OwnPtr<Digest> >& oldList, const Vector<OwnPt |
DiffTable oldTable; |
for (size_t i = 0; i < newList.size(); ++i) { |
- DiffTable::iterator it = newTable.add(newList[i]->m_sha1, Vector<size_t>()).iterator; |
- it->value.append(i); |
+ newTable.add(newList[i]->m_sha1, Vector<size_t>()).storedValue->value.append(i); |
} |
for (size_t i = 0; i < oldList.size(); ++i) { |
- DiffTable::iterator it = oldTable.add(oldList[i]->m_sha1, Vector<size_t>()).iterator; |
- it->value.append(i); |
+ oldTable.add(oldList[i]->m_sha1, Vector<size_t>()).storedValue->value.append(i); |
} |
for (DiffTable::iterator newIt = newTable.begin(); newIt != newTable.end(); ++newIt) { |