Index: Source/web/WebEmbeddedWorkerImpl.cpp |
diff --git a/Source/web/WebEmbeddedWorkerImpl.cpp b/Source/web/WebEmbeddedWorkerImpl.cpp |
index 25de18830fe05d5ef99cb68654bc8a8ff5cc46cc..9e8c8cb44c829c8f469b0fd57de7d57b4775d61f 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 |