| Index: Source/core/workers/Worker.h
|
| diff --git a/Source/core/workers/Worker.h b/Source/core/workers/Worker.h
|
| index 42392a11ec021877279200768a957f06f511f61a..f24895b84a8fdbd73d53795dcd3300fb6bf13f4c 100644
|
| --- a/Source/core/workers/Worker.h
|
| +++ b/Source/core/workers/Worker.h
|
| @@ -46,7 +46,7 @@ class ExecutionContext;
|
| class WorkerGlobalScopeProxy;
|
| class WorkerScriptLoader;
|
|
|
| -class Worker final : public AbstractWorker, private WorkerScriptLoaderClient {
|
| +class Worker : public AbstractWorker, private WorkerScriptLoaderClient {
|
| DEFINE_WRAPPERTYPEINFO();
|
| public:
|
| static PassRefPtrWillBeRawPtr<Worker> create(ExecutionContext*, const String& url, ExceptionState&);
|
| @@ -65,9 +65,15 @@ public:
|
|
|
| virtual void trace(Visitor*) override;
|
|
|
| -private:
|
| + virtual bool isUIWorker() const { return false; }
|
| +
|
| +protected:
|
| explicit Worker(ExecutionContext*);
|
|
|
| + void initScriptLoader(ExecutionContext*, const KURL& scriptURL);
|
| + void setContextProxy(WorkerGlobalScopeProxy*);
|
| +
|
| +private:
|
| // WorkerScriptLoaderClient callbacks
|
| virtual void didReceiveResponse(unsigned long identifier, const ResourceResponse&) override;
|
| virtual void notifyFinished() override;
|
|
|