Index: Source/core/workers/SharedWorker.cpp |
diff --git a/Source/core/workers/SharedWorker.cpp b/Source/core/workers/SharedWorker.cpp |
index 28298c362ca4fdd0e85f7189ab7deec525954dd4..8df2e0cd3eb519ecd6972d3f13af4b85ede6d7a3 100644 |
--- a/Source/core/workers/SharedWorker.cpp |
+++ b/Source/core/workers/SharedWorker.cpp |
@@ -46,7 +46,7 @@ |
namespace WebCore { |
inline SharedWorker::SharedWorker(ScriptExecutionContext* context) |
- : AbstractWorker(context) |
+ : ActiveDOMObject(context) |
{ |
ScriptWrappable::init(this); |
} |
@@ -91,4 +91,9 @@ const AtomicString& SharedWorker::interfaceName() const |
return eventNames().interfaceForSharedWorker; |
} |
+void SharedWorker::contextDestroyed() |
+{ |
+ ActiveDOMObject::contextDestroyed(); |
+} |
+ |
} // namespace WebCore |