Index: Source/bindings/core/v8/WorkerScriptController.h |
diff --git a/Source/bindings/core/v8/WorkerScriptController.h b/Source/bindings/core/v8/WorkerScriptController.h |
index ecc540e5704110327c6c70de74f1080026605033..d1d53603909094705d540d55e650af3b81f4ca66 100644 |
--- a/Source/bindings/core/v8/WorkerScriptController.h |
+++ b/Source/bindings/core/v8/WorkerScriptController.h |
@@ -86,10 +86,11 @@ public: |
RejectedPromises* rejectedPromises() const { return m_rejectedPromises.get(); } |
+ bool isContextInitialized() { return m_scriptState && !!m_scriptState->perContextData(); } |
+ |
private: |
class WorkerGlobalScopeExecutionState; |
- bool isContextInitialized() { return m_scriptState && !!m_scriptState->perContextData(); } |
v8::Isolate* isolate() const; |
// Evaluate a script file in the current execution environment. |