Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(353)

Unified Diff: Source/core/css/resolver/MatchedPropertiesCache.h

Issue 1166623002: Oilpan: Remove a visitor parameter from isHeapObjectAlive (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | Source/core/frame/EventHandlerRegistry.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/css/resolver/MatchedPropertiesCache.h
diff --git a/Source/core/css/resolver/MatchedPropertiesCache.h b/Source/core/css/resolver/MatchedPropertiesCache.h
index 19b654ebe87bbc234820a0048cec007c3e584673..6c1a7fb7c55430f96660382436872ce79417dd3c 100644
--- a/Source/core/css/resolver/MatchedPropertiesCache.h
+++ b/Source/core/css/resolver/MatchedPropertiesCache.h
@@ -70,7 +70,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 (!visitor->isHeapObjectAlive(matchedProperties.properties)) {
+ if (!Heap::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.
@@ -82,7 +82,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 (!visitor->isHeapObjectAlive(cachedProperties))
+ if (!Heap::isHeapObjectAlive(cachedProperties))
visitor->trace(cachedProperties);
return false;
}
« no previous file with comments | « no previous file | Source/core/frame/EventHandlerRegistry.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698