Index: third_party/WebKit/Source/platform/heap/Visitor.h |
diff --git a/third_party/WebKit/Source/platform/heap/Visitor.h b/third_party/WebKit/Source/platform/heap/Visitor.h |
index 0b6129b248650abfacc65208e4fcaeda962859fb..aacbce1106ada97591ab5a331610b2bffa323e2f 100644 |
--- a/third_party/WebKit/Source/platform/heap/Visitor.h |
+++ b/third_party/WebKit/Source/platform/heap/Visitor.h |
@@ -283,7 +283,7 @@ class VisitorHelper { |
void registerBackingStoreReference(void* slot) { |
if (getMarkingMode() != VisitorMarkingMode::GlobalMarkingWithCompaction) |
return; |
- Derived::fromHelper(this)->registerMovingObjectReference( |
+ heap().registerMovingObjectReference( |
reinterpret_cast<MovableReference*>(slot)); |
} |
@@ -292,7 +292,7 @@ class VisitorHelper { |
void* callbackData) { |
if (getMarkingMode() != VisitorMarkingMode::GlobalMarkingWithCompaction) |
return; |
- Derived::fromHelper(this)->registerMovingObjectCallback( |
+ heap().registerMovingObjectCallback( |
reinterpret_cast<MovableReference>(backingStore), callback, |
callbackData); |
} |
@@ -387,12 +387,6 @@ class PLATFORM_EXPORT Visitor : public VisitorHelper<Visitor> { |
virtual bool ensureMarked(const void*) = 0; |
- virtual void registerMovingObjectReference(MovableReference*) = 0; |
- |
- virtual void registerMovingObjectCallback(MovableReference, |
- MovingObjectCallback, |
- void*) = 0; |
- |
virtual void registerWeakCellWithCallback(void**, WeakCallback) = 0; |
protected: |