Index: Source/platform/LifecycleObserver.h |
diff --git a/Source/platform/LifecycleObserver.h b/Source/platform/LifecycleObserver.h |
index cc7dcc31fc07009a31fa29bfc722ec8a9f07c3dc..6637428da094e1f927fe49f5baeec6b75879bacb 100644 |
--- a/Source/platform/LifecycleObserver.h |
+++ b/Source/platform/LifecycleObserver.h |
@@ -37,17 +37,17 @@ class LifecycleObserver : public WillBeGarbageCollectedMixin { |
public: |
using Context = T; |
- explicit LifecycleObserver(Context* context) |
+ LifecycleObserver() |
: m_lifecycleContext(nullptr) |
{ |
} |
+#if !ENABLE(OILPAN) |
virtual ~LifecycleObserver() |
{ |
-#if !ENABLE(OILPAN) |
dispose(); |
-#endif |
} |
+#endif |
DEFINE_INLINE_VIRTUAL_TRACE() |
{ |