Index: third_party/WebKit/Source/platform/heap/BlinkGCAPIReference.md |
diff --git a/third_party/WebKit/Source/platform/heap/BlinkGCAPIReference.md b/third_party/WebKit/Source/platform/heap/BlinkGCAPIReference.md |
index 0dc0c66326c6767d678670043ba1edf62ed81c04..bd9c18e331b073323c089d3e449bd3d92ee37ace 100644 |
--- a/third_party/WebKit/Source/platform/heap/BlinkGCAPIReference.md |
+++ b/third_party/WebKit/Source/platform/heap/BlinkGCAPIReference.md |
@@ -99,7 +99,7 @@ with a destructor. |
A pre-finalizer must have the following function signature: `void preFinalizer()`. You can change the function name. |
A pre-finalizer must be registered in the constructor by using the following statement: |
-"`ThreadState::current()->registerPreFinalizer(this, preFinalizerName);`". |
+"`ThreadState::current()->registerPreFinalizer(preFinalizerName);`". |
```c++ |
class YourClass : public GarbageCollectedFinalized<YourClass> { |
@@ -107,7 +107,7 @@ class YourClass : public GarbageCollectedFinalized<YourClass> { |
public: |
YourClass() |
{ |
- ThreadState::current()->registerPreFinalizer(this, dispose); |
+ ThreadState::current()->registerPreFinalizer(dispose); |
} |
void dispose() |
{ |