| Index: Source/web/WebEmbeddedWorkerImpl.h
|
| diff --git a/Source/web/WebEmbeddedWorkerImpl.h b/Source/web/WebEmbeddedWorkerImpl.h
|
| index 9ac972b452eff7b24645445231795403c4cc6683..cf52a7d66e5c07eee7a9e603c5f497f712ea3095 100644
|
| --- a/Source/web/WebEmbeddedWorkerImpl.h
|
| +++ b/Source/web/WebEmbeddedWorkerImpl.h
|
| @@ -37,6 +37,7 @@
|
| #include "public/web/WebFrameClient.h"
|
|
|
| namespace WebCore {
|
| +class ExecutionContextTask;
|
| class WorkerScriptLoader;
|
| class WorkerThread;
|
| }
|
| @@ -57,6 +58,9 @@ public:
|
| PassOwnPtr<WebWorkerPermissionClientProxy>);
|
| virtual ~WebEmbeddedWorkerImpl();
|
|
|
| + // Posts the task to the worker thread, where it can safely access the worker's v8 context.
|
| + void postTask(PassOwnPtr<WebCore::ExecutionContextTask>);
|
| +
|
| // WebEmbeddedWorker overrides.
|
| virtual void startWorkerContext(const WebEmbeddedWorkerStartData&) OVERRIDE;
|
| virtual void resumeAfterDownload() OVERRIDE;
|
|
|