Chromium Code Reviews| 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(); } |
|
kinuko (google)
2015/08/17 10:27:20
nit: this could probably be a const method
annekao
2015/08/17 19:47:41
Done.
|
| + |
| private: |
| class WorkerGlobalScopeExecutionState; |
| - bool isContextInitialized() { return m_scriptState && !!m_scriptState->perContextData(); } |
| v8::Isolate* isolate() const; |
| // Evaluate a script file in the current execution environment. |