Index: Source/core/workers/WorkerScriptLoader.h |
diff --git a/Source/core/workers/WorkerScriptLoader.h b/Source/core/workers/WorkerScriptLoader.h |
index c8c8f13ff34d6f1625eecf4bc867104cfc7cc9c4..c56e41e180c939fc21a4e0ed327faecf4c8adc73 100644 |
--- a/Source/core/workers/WorkerScriptLoader.h |
+++ b/Source/core/workers/WorkerScriptLoader.h |
@@ -57,6 +57,7 @@ public: |
// TODO: finishedCallback is not currently guaranteed to be invoked if used |
// from worker context and the worker shuts down in the middle of an |
// operation. This will cause leaks when we support nested workers. |
+ // Note that callbacks would be invoked before loadAsynchronously() returns. |
kinuko
2015/07/01 08:11:15
would -> could ?
Takashi Toyoshima
2015/07/02 05:55:03
Done.
|
void loadAsynchronously(ExecutionContext&, const KURL&, CrossOriginRequestPolicy, PassOwnPtr<Closure> responseCallback, PassOwnPtr<Closure> finishedCallback); |
void notifyError(); |
@@ -107,7 +108,6 @@ private: |
bool m_failed; |
unsigned long m_identifier; |
long long m_appCacheID; |
- bool m_finishing; |
OwnPtr<Vector<char>> m_cachedMetadata; |
WebURLRequest::RequestContext m_requestContext; |
RefPtr<ContentSecurityPolicy> m_contentSecurityPolicy; |