| Index: third_party/WebKit/Source/core/css/resolver/MatchedPropertiesCache.h
|
| diff --git a/third_party/WebKit/Source/core/css/resolver/MatchedPropertiesCache.h b/third_party/WebKit/Source/core/css/resolver/MatchedPropertiesCache.h
|
| index 0a18808d0d111edfc258f9ae3c68c26f5468edf7..831c038fae48fcedee4865d973aa930e043fb24e 100644
|
| --- a/third_party/WebKit/Source/core/css/resolver/MatchedPropertiesCache.h
|
| +++ b/third_party/WebKit/Source/core/css/resolver/MatchedPropertiesCache.h
|
| @@ -65,7 +65,7 @@ struct CachedMatchedPropertiesHashTraits : HashTraits<Member<CachedMatchedProper
|
| // in the CachedMatchedProperties value contain a dead "properties" field.
|
| // If there is a dead field the entire cache entry is removed.
|
| for (const auto& matchedProperties : cachedProperties->matchedProperties) {
|
| - if (!Heap::isHeapObjectAlive(matchedProperties.properties)) {
|
| + if (!ThreadHeap::isHeapObjectAlive(matchedProperties.properties)) {
|
| // For now report the cache entry as dead. This might not
|
| // be the final result if in a subsequent call for this entry,
|
| // the "properties" field has been marked via another path.
|
| @@ -77,7 +77,7 @@ struct CachedMatchedPropertiesHashTraits : HashTraits<Member<CachedMatchedProper
|
| // had a dead "properties" field so trace CachedMatchedProperties strongly.
|
| // FIXME: traceInCollection is also called from WeakProcessing to check if the entry is dead.
|
| // Avoid calling trace in that case by only calling trace when cachedProperties is not yet marked.
|
| - if (!Heap::isHeapObjectAlive(cachedProperties))
|
| + if (!ThreadHeap::isHeapObjectAlive(cachedProperties))
|
| visitor->trace(cachedProperties);
|
| return false;
|
| }
|
|
|