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

Unified Diff: third_party/WebKit/Source/platform/heap/BlinkGCAPIReference.md

Issue 1847863002: Move notification resource loading from content/child to blink (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: ImageFrame::getSkBitmap was removed. Created 4 years, 8 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/BlinkGCAPIReference.md
diff --git a/third_party/WebKit/Source/platform/heap/BlinkGCAPIReference.md b/third_party/WebKit/Source/platform/heap/BlinkGCAPIReference.md
index 18812379426d61c5851ef0c6671dad09e775ac07..05ea4cb9da52591b95e07510a528735c4f0903f2 100644
--- a/third_party/WebKit/Source/platform/heap/BlinkGCAPIReference.md
+++ b/third_party/WebKit/Source/platform/heap/BlinkGCAPIReference.md
@@ -177,7 +177,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(preFinalizerName);`".
+"`ThreadState::current()->registerPreFinalizer(this);`".
Peter Beverloo 2016/04/13 18:32:28 Do you want to separate out this change (and the c
Michael van Ouwerkerk 2016/04/14 13:42:12 Done.
```c++
class YourClass : public GarbageCollectedFinalized<YourClass> {
@@ -185,7 +185,7 @@ class YourClass : public GarbageCollectedFinalized<YourClass> {
public:
YourClass()
{
- ThreadState::current()->registerPreFinalizer(dispose);
+ ThreadState::current()->registerPreFinalizer(this);
}
void dispose()
{

Powered by Google App Engine
This is Rietveld 408576698