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

Unified Diff: Source/platform/heap/MarkingVisitorImpl.h

Issue 1149943003: Oilpan: Rename weak callback related methods (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 | « Source/platform/heap/MarkingVisitor.h ('k') | Source/platform/heap/ThreadState.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/heap/MarkingVisitorImpl.h
diff --git a/Source/platform/heap/MarkingVisitorImpl.h b/Source/platform/heap/MarkingVisitorImpl.h
index fab6eb6ca64661480eefbfc3125db757a8994682..94f46376b5c4c28e6b6c2388e7fecd95d3bb1007 100644
--- a/Source/platform/heap/MarkingVisitorImpl.h
+++ b/Source/platform/heap/MarkingVisitorImpl.h
@@ -71,9 +71,9 @@ protected:
Heap::pushPostMarkingCallback(const_cast<void*>(objectPointer), &markNoTracingCallback);
}
- inline void registerWeakMembers(const void* closure, const void* objectPointer, WeakPointerCallback callback)
+ inline void registerWeakMembers(const void* closure, const void* objectPointer, WeakCallback callback)
{
- Heap::pushWeakPointerCallback(const_cast<void*>(closure), const_cast<void*>(objectPointer), callback);
+ Heap::pushThreadLocalWeakCallback(const_cast<void*>(closure), const_cast<void*>(objectPointer), callback);
}
inline void registerWeakTable(const void* closure, EphemeronCallback iterationCallback, EphemeronCallback iterationDoneCallback)
@@ -121,9 +121,9 @@ protected:
}
protected:
- inline void registerWeakCellWithCallback(void** cell, WeakPointerCallback callback)
+ inline void registerWeakCellWithCallback(void** cell, WeakCallback callback)
{
- Heap::pushWeakCellPointerCallback(cell, callback);
+ Heap::pushGlobalWeakCallback(cell, callback);
}
private:
« no previous file with comments | « Source/platform/heap/MarkingVisitor.h ('k') | Source/platform/heap/ThreadState.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698