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

Unified Diff: Source/core/workers/SharedWorker.cpp

Issue 17236004: Update AbstractWorker, Worker and SharedWorker to match the spec (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 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/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

Powered by Google App Engine
This is Rietveld 408576698