Index: Source/core/workers/WorkerReportingProxy.h |
diff --git a/Source/core/workers/WorkerReportingProxy.h b/Source/core/workers/WorkerReportingProxy.h |
index 85e880654140531c24a92b6a02a4cf1c27594f8c..83f04db8a8a27fb712c619e884d1c022981ad7a1 100644 |
--- a/Source/core/workers/WorkerReportingProxy.h |
+++ b/Source/core/workers/WorkerReportingProxy.h |
@@ -35,6 +35,7 @@ |
#include "core/frame/ConsoleTypes.h" |
#include "platform/heap/Handle.h" |
#include "wtf/Forward.h" |
+#include <v8.h> |
dcheng
2015/08/05 00:04:53
Remove this #include.
annekao
2015/08/05 16:43:02
Done.
|
namespace blink { |
@@ -55,6 +56,9 @@ public: |
// evaluation completed with no uncaught exception. |
virtual void didEvaluateWorkerScript(bool success) = 0; |
+ // Invoked when the thread creates a worker script context. |
+ virtual void didInitializeWorkerContext() { } |
+ |
// Invoked when the new WorkerGlobalScope is started. |
virtual void workerGlobalScopeStarted(WorkerGlobalScope*) = 0; |