Index: Source/web/WebEmbeddedWorkerImpl.cpp |
diff --git a/Source/web/WebEmbeddedWorkerImpl.cpp b/Source/web/WebEmbeddedWorkerImpl.cpp |
index b5da7daf9ff4e7ab8912537329e1006877532087..e27c761b00bc74c6e4fbef5bb08708c8dec33180 100644 |
--- a/Source/web/WebEmbeddedWorkerImpl.cpp |
+++ b/Source/web/WebEmbeddedWorkerImpl.cpp |
@@ -74,10 +74,11 @@ public: |
void load(ExecutionContext* loadingContext, const KURL& scriptURL, const Closure& callback) |
{ |
+ ASSERT(loadingContext); |
m_callback = callback; |
m_scriptLoader->setTargetType(ResourceRequest::TargetIsServiceWorker); |
m_scriptLoader->loadAsynchronously( |
- loadingContext, scriptURL, DenyCrossOriginRequests, this); |
+ *loadingContext, scriptURL, DenyCrossOriginRequests, this); |
} |
virtual void notifyFinished() OVERRIDE |