| Index: Source/core/workers/Worker.h
|
| diff --git a/Source/core/workers/Worker.h b/Source/core/workers/Worker.h
|
| index 64100b03c40ee3018ee3b37e38a9f24882e76d8e..9b08a98d52484dd5e50883229d7c76dd5ea9f2ce 100644
|
| --- a/Source/core/workers/Worker.h
|
| +++ b/Source/core/workers/Worker.h
|
| @@ -47,7 +47,7 @@ namespace WebCore {
|
|
|
| typedef int ExceptionCode;
|
|
|
| - class Worker : public AbstractWorker, private WorkerScriptLoaderClient {
|
| + class Worker : public AbstractWorker, public ScriptWrappable, private WorkerScriptLoaderClient {
|
| public:
|
| static PassRefPtr<Worker> create(ScriptExecutionContext*, const String& url, ExceptionCode&);
|
| virtual ~Worker();
|
| @@ -61,7 +61,7 @@ namespace WebCore {
|
| virtual bool canSuspend() const OVERRIDE;
|
| virtual void stop() OVERRIDE;
|
| virtual bool hasPendingActivity() const OVERRIDE;
|
| -
|
| +
|
| DEFINE_ATTRIBUTE_EVENT_LISTENER(message);
|
|
|
| private:
|
|
|