Index: Source/bindings/v8/WorkerScriptController.h |
diff --git a/Source/bindings/v8/WorkerScriptController.h b/Source/bindings/v8/WorkerScriptController.h |
index 3625bc530e8dc36fbf2fc2b24aa1cb4b63ed2e66..77c792d8b943f70370b7cc0440b1fad3584d4586 100644 |
--- a/Source/bindings/v8/WorkerScriptController.h |
+++ b/Source/bindings/v8/WorkerScriptController.h |
@@ -68,6 +68,8 @@ namespace WebCore { |
WorkerGlobalScope& workerGlobalScope() { return m_workerGlobalScope; } |
+ bool initializeContext(); |
+ |
void evaluate(const ScriptSourceCode&, RefPtrWillBeRawPtr<ErrorEvent>* = 0); |
void rethrowExceptionFromImportedScript(PassRefPtrWillBeRawPtr<ErrorEvent>); |
@@ -101,9 +103,8 @@ namespace WebCore { |
// until real work has been done. |
bool idleNotification() { return v8::V8::IdleNotification(); } |
- private: |
- bool initializeContextIfNeeded(); |
+ private: |
v8::Isolate* m_isolate; |
WorkerGlobalScope& m_workerGlobalScope; |
RefPtr<ScriptState> m_scriptState; |