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

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

Issue 2642933005: Have VisitorHelper<> handle moving object registration. (Closed)
Patch Set: msvc compile fix Created 3 years, 11 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
Index: third_party/WebKit/Source/platform/heap/MarkingVisitorImpl.h
diff --git a/third_party/WebKit/Source/platform/heap/MarkingVisitorImpl.h b/third_party/WebKit/Source/platform/heap/MarkingVisitorImpl.h
index 390b32397baa7ab4a537702311d048924d087905..5394e53258a623e0165555ad65d61c936421ea00 100644
--- a/third_party/WebKit/Source/platform/heap/MarkingVisitorImpl.h
+++ b/third_party/WebKit/Source/platform/heap/MarkingVisitorImpl.h
@@ -86,21 +86,6 @@ class MarkingVisitorImpl {
}
#endif
- inline void registerMovingObjectReference(MovableReference* slot) {
- DCHECK(toDerived()->getMarkingMode() ==
- VisitorMarkingMode::GlobalMarkingWithCompaction);
- toDerived()->heap().registerMovingObjectReference(slot);
- }
-
- inline void registerMovingObjectCallback(MovableReference reference,
- MovingObjectCallback callback,
- void* callbackData) {
- DCHECK(toDerived()->getMarkingMode() ==
- VisitorMarkingMode::GlobalMarkingWithCompaction);
- toDerived()->heap().registerMovingObjectCallback(reference, callback,
- callbackData);
- }
-
inline bool ensureMarked(const void* objectPointer) {
if (!objectPointer)
return false;
« no previous file with comments | « third_party/WebKit/Source/platform/heap/MarkingVisitor.h ('k') | third_party/WebKit/Source/platform/heap/SparseHeapBitmap.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698