Index: Source/bindings/v8/WorkerScriptController.h |
diff --git a/Source/bindings/v8/WorkerScriptController.h b/Source/bindings/v8/WorkerScriptController.h |
index ce2e9e701437e4886fd5b259ee0e61d9ee725b66..47763a4d9e07464dfd7b9a3e00c8c0bd573d2054 100644 |
--- a/Source/bindings/v8/WorkerScriptController.h |
+++ b/Source/bindings/v8/WorkerScriptController.h |
@@ -63,10 +63,10 @@ namespace WebCore { |
class WorkerScriptController { |
public: |
- WorkerScriptController(WorkerGlobalScope*); |
+ explicit WorkerScriptController(WorkerGlobalScope&); |
~WorkerScriptController(); |
- WorkerGlobalScope* workerGlobalScope() { return m_workerGlobalScope; } |
+ WorkerGlobalScope& workerGlobalScope() { return m_workerGlobalScope; } |
void evaluate(const ScriptSourceCode&, RefPtr<ErrorEvent>* = 0); |
@@ -107,7 +107,7 @@ namespace WebCore { |
bool initializeContextIfNeeded(); |
void disposeContext(); |
- WorkerGlobalScope* m_workerGlobalScope; |
+ WorkerGlobalScope& m_workerGlobalScope; |
v8::Isolate* m_isolate; |
ScopedPersistent<v8::Context> m_context; |
OwnPtr<V8PerContextData> m_perContextData; |