Index: Source/core/frame/LocalDOMWindow.cpp |
diff --git a/Source/core/frame/LocalDOMWindow.cpp b/Source/core/frame/LocalDOMWindow.cpp |
index 8f94e75c8c754ce158dcee2d2878916784133eb9..f026ec42f0c20baa164ddb6ba859c435e36c11a7 100644 |
--- a/Source/core/frame/LocalDOMWindow.cpp |
+++ b/Source/core/frame/LocalDOMWindow.cpp |
@@ -181,6 +181,13 @@ static DOMWindowSet& windowsWithUnloadEventListeners() |
return windowsWithUnloadEventListeners; |
} |
+PassRefPtr<Worker> LocalDOMWindow::createAnimationWorker(ExecutionContext * context, const String& url, ExceptionState & es) |
+{ |
+ RefPtr<Worker> worker = Worker::create(context, url, es); |
+ page()->m_ProxyMap->addToWorkerVector(worker); |
+ return worker; |
+} |
+ |
static DOMWindowSet& windowsWithBeforeUnloadEventListeners() |
{ |
DEFINE_STATIC_LOCAL(DOMWindowSet, windowsWithBeforeUnloadEventListeners, ()); |