| Index: Source/core/dom/ElementDataCache.cpp
|
| diff --git a/Source/core/dom/ElementDataCache.cpp b/Source/core/dom/ElementDataCache.cpp
|
| index 1b3cf32b4e1a8b8340a330b75b14418588ed0f78..8bdbf92705ec81566275a4a8322153701b983fdc 100644
|
| --- a/Source/core/dom/ElementDataCache.cpp
|
| +++ b/Source/core/dom/ElementDataCache.cpp
|
| @@ -47,7 +47,7 @@ PassRefPtr<ShareableElementData> ElementDataCache::cachedShareableElementDataWit
|
| {
|
| ASSERT(!attributes.isEmpty());
|
|
|
| - ShareableElementDataCache::ValueType* it = m_shareableElementDataCache.add(attributeHash(attributes), 0).storedValue;
|
| + ShareableElementDataCache::ValueType* it = m_shareableElementDataCache.add(attributeHash(attributes), nullptr).storedValue;
|
|
|
| // FIXME: This prevents sharing when there's a hash collision.
|
| if (it->value && !hasSameAttributes(attributes, *it->value))
|
|
|