X-Git-Url: https://git.saurik.com/apple/javascriptcore.git/blobdiff_plain/2d39b0e377c0896910ee49ae70082ba665faf986..refs/heads/master:/heap/EdenGCActivityCallback.h diff --git a/heap/EdenGCActivityCallback.h b/heap/EdenGCActivityCallback.h index 28cfddb..214ab43 100644 --- a/heap/EdenGCActivityCallback.h +++ b/heap/EdenGCActivityCallback.h @@ -49,7 +49,7 @@ protected: virtual double deathRate() override; }; -inline PassRefPtr GCActivityCallback::createEdenTimer(Heap* heap) +inline RefPtr GCActivityCallback::createEdenTimer(Heap* heap) { return s_shouldCreateGCTimer ? adoptRef(new EdenGCActivityCallback(heap)) : nullptr; }