diff options
Diffstat (limited to 'webkit/glue/webworker_impl.h')
-rw-r--r-- | webkit/glue/webworker_impl.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/webkit/glue/webworker_impl.h b/webkit/glue/webworker_impl.h index f1c6910..4477a2c 100644 --- a/webkit/glue/webworker_impl.h +++ b/webkit/glue/webworker_impl.h @@ -55,6 +55,8 @@ class WebWorkerImpl: public WebCore::WorkerObjectProxy, virtual void postMessageToWorkerContext(const WebKit::WebString& message); virtual void workerObjectDestroyed(); + WebKit::WebWorkerClient* client() { return client_; } + // Executes the given task on the main thread. static void DispatchTaskToMainThread( PassRefPtr<WebCore::ScriptExecutionContext::Task> task); |