Index: Source/modules/indexeddb/IDBRequestTest.cpp |
diff --git a/Source/modules/indexeddb/IDBRequestTest.cpp b/Source/modules/indexeddb/IDBRequestTest.cpp |
index 3dc1bf24d5daec2ac5d70d064abc544c968e7854..5f93d1b743020534936d2ad773d991b6756c325a 100644 |
--- a/Source/modules/indexeddb/IDBRequestTest.cpp |
+++ b/Source/modules/indexeddb/IDBRequestTest.cpp |
@@ -72,8 +72,7 @@ NullExecutionContext::NullExecutionContext() |
class IDBRequestTest : public testing::Test { |
public: |
IDBRequestTest() |
- : m_handleScope(v8::Isolate::GetCurrent()) |
- , m_scope(v8::Context::New(v8::Isolate::GetCurrent())) |
+ : m_scope(V8BindingTestScope::create(v8::Isolate::GetCurrent())) |
, m_context(adoptRef(new NullExecutionContext())) |
{ |
} |
@@ -84,8 +83,7 @@ public: |
} |
private: |
- v8::HandleScope m_handleScope; |
- v8::Context::Scope m_scope; |
+ OwnPtr<V8BindingTestScope> m_scope; |
RefPtr<ExecutionContext> m_context; |
}; |