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

Unified Diff: Source/modules/performance/WorkerPerformance.h

Issue 367113005: Remove destructors from ScriptWrappable objects in modules/ (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Add Finalizable transition type Created 6 years, 6 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: Source/modules/performance/WorkerPerformance.h
diff --git a/Source/modules/performance/WorkerPerformance.h b/Source/modules/performance/WorkerPerformance.h
index 571a6fcb79a5b89173c3e4dae1687123c440862d..3a7f3cad0cc128c1eef3f0f4836ccb8d4b0cdcbd 100644
--- a/Source/modules/performance/WorkerPerformance.h
+++ b/Source/modules/performance/WorkerPerformance.h
@@ -41,13 +41,13 @@ namespace WebCore {
class ExecutionContext;
class MemoryInfo;
-class WorkerPerformance : public GarbageCollectedFinalized<WorkerPerformance>, public ScriptWrappable {
+class WorkerPerformance FINAL : public GarbageCollectedFinalizedWillBeGarbageCollected<WorkerPerformance>, public ScriptWrappable {
+ DECLARE_EMPTY_DESTRUCTOR_WILL_BE_REMOVED(WorkerPerformance);
public:
static WorkerPerformance* create()
{
return new WorkerPerformance();
}
- ~WorkerPerformance();
double now(ExecutionContext*) const;
PassRefPtrWillBeRawPtr<MemoryInfo> memory() const;

Powered by Google App Engine
This is Rietveld 408576698