| Index: Source/bindings/core/v8/ScriptState.cpp
|
| diff --git a/Source/bindings/core/v8/ScriptState.cpp b/Source/bindings/core/v8/ScriptState.cpp
|
| index 106c37e1a04efd1871c4ec8c479fa92ee274d307..3de3de91fab7a2c8e7ef9fec6e6060c9cfb634aa 100644
|
| --- a/Source/bindings/core/v8/ScriptState.cpp
|
| +++ b/Source/bindings/core/v8/ScriptState.cpp
|
| @@ -116,28 +116,4 @@ ScriptState* ScriptState::forMainWorld(LocalFrame* frame)
|
| return ScriptState::from(toV8Context(frame, DOMWrapperWorld::mainWorld()));
|
| }
|
|
|
| -PassRefPtr<ScriptStateForTesting> ScriptStateForTesting::create(v8::Handle<v8::Context> context, PassRefPtr<DOMWrapperWorld> world)
|
| -{
|
| - RefPtr<ScriptStateForTesting> scriptState = adoptRef(new ScriptStateForTesting(context, world));
|
| - // This ref() is for keeping this ScriptState alive as long as the v8::Context is alive.
|
| - // This is deref()ed in the weak callback of the v8::Context.
|
| - scriptState->ref();
|
| - return scriptState;
|
| -}
|
| -
|
| -ScriptStateForTesting::ScriptStateForTesting(v8::Handle<v8::Context> context, PassRefPtr<DOMWrapperWorld> world)
|
| - : ScriptState(context, world)
|
| -{
|
| -}
|
| -
|
| -ExecutionContext* ScriptStateForTesting::executionContext() const
|
| -{
|
| - return m_executionContext;
|
| -}
|
| -
|
| -void ScriptStateForTesting::setExecutionContext(ExecutionContext* executionContext)
|
| -{
|
| - m_executionContext = executionContext;
|
| -}
|
| -
|
| }
|
|
|