| Index: Source/bindings/v8/ScriptState.h
|
| diff --git a/Source/bindings/v8/ScriptState.h b/Source/bindings/v8/ScriptState.h
|
| index 1387b299dff03a6b3971902e863b0546dabd6f67..621585fce7782f49a0ae026b1e34219adb123b4e 100644
|
| --- a/Source/bindings/v8/ScriptState.h
|
| +++ b/Source/bindings/v8/ScriptState.h
|
| @@ -70,7 +70,7 @@ public:
|
| DOMWrapperWorld& world() const { return *m_world; }
|
| DOMWindow* domWindow() const;
|
| virtual ExecutionContext* executionContext() const;
|
| - virtual void setExecutionContext(PassRefPtr<ExecutionContext>);
|
| + virtual void setExecutionContext(ExecutionContext*);
|
|
|
| // This can return an empty handle if the v8::Context is gone.
|
| v8::Handle<v8::Context> context() const { return m_context.newLocal(m_isolate); }
|
| @@ -107,12 +107,12 @@ public:
|
| static PassRefPtr<ScriptStateForTesting> create(v8::Handle<v8::Context>, PassRefPtr<DOMWrapperWorld>);
|
|
|
| virtual ExecutionContext* executionContext() const OVERRIDE;
|
| - virtual void setExecutionContext(PassRefPtr<ExecutionContext>) OVERRIDE;
|
| + virtual void setExecutionContext(ExecutionContext*) OVERRIDE;
|
|
|
| private:
|
| ScriptStateForTesting(v8::Handle<v8::Context>, PassRefPtr<DOMWrapperWorld>);
|
|
|
| - RefPtr<ExecutionContext> m_executionContext;
|
| + ExecutionContext* m_executionContext;
|
| };
|
|
|
| // ScriptStateProtectingContext keeps the context associated with the ScriptState alive.
|
|
|