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

Unified Diff: Source/core/workers/Worker.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/Worker.cpp
diff --git a/Source/core/workers/Worker.cpp b/Source/core/workers/Worker.cpp
index 00389db9f479083f5c38cc9af20a1c0905ce4be3..6a12ccd5addd371a261431a9369fe6108435f54c 100644
--- a/Source/core/workers/Worker.cpp
+++ b/Source/core/workers/Worker.cpp
@@ -48,7 +48,7 @@
namespace WebCore {
inline Worker::Worker(ScriptExecutionContext* context)
- : AbstractWorker(context)
+ : ActiveDOMObject(context)
, m_contextProxy(WorkerContextProxy::create(this))
{
ScriptWrappable::init(this);
@@ -139,4 +139,9 @@ void Worker::notifyFinished()
unsetPendingActivity(this);
}
+void Worker::contextDestroyed()
+{
+ ActiveDOMObject::contextDestroyed();
+}
+
} // namespace WebCore

Powered by Google App Engine
This is Rietveld 408576698