| Index: Source/modules/indexeddb/IDBRequestTest.cpp
|
| diff --git a/Source/modules/indexeddb/IDBRequestTest.cpp b/Source/modules/indexeddb/IDBRequestTest.cpp
|
| index 43851600a4f220da3d6ba33e366d28fd80173075..2ddbf31440b5f2e9018c144942a76a75ce6eaed6 100644
|
| --- a/Source/modules/indexeddb/IDBRequestTest.cpp
|
| +++ b/Source/modules/indexeddb/IDBRequestTest.cpp
|
| @@ -74,17 +74,17 @@ NullExecutionContext::NullExecutionContext()
|
| class IDBRequestTest : public testing::Test {
|
| public:
|
| IDBRequestTest()
|
| - : m_scope(V8TestingScope::create(v8::Isolate::GetCurrent()))
|
| + : m_scope(v8::Isolate::GetCurrent())
|
| {
|
| - m_scope->scriptState()->setExecutionContext(adoptRef(new NullExecutionContext()));
|
| + m_scope.scriptState()->setExecutionContext(adoptRef(new NullExecutionContext()));
|
| }
|
|
|
| - v8::Isolate* isolate() const { return m_scope->isolate(); }
|
| - ScriptState* scriptState() const { return m_scope->scriptState(); }
|
| - ExecutionContext* executionContext() const { return m_scope->scriptState()->executionContext(); }
|
| + v8::Isolate* isolate() const { return m_scope.isolate(); }
|
| + ScriptState* scriptState() const { return m_scope.scriptState(); }
|
| + ExecutionContext* executionContext() const { return m_scope.scriptState()->executionContext(); }
|
|
|
| private:
|
| - OwnPtr<V8TestingScope> m_scope;
|
| + V8TestingScope m_scope;
|
| };
|
|
|
| TEST_F(IDBRequestTest, EventsAfterStopping)
|
|
|