Index: Source/bindings/v8/IDBBindingUtilitiesTest.cpp |
diff --git a/Source/bindings/v8/IDBBindingUtilitiesTest.cpp b/Source/bindings/v8/IDBBindingUtilitiesTest.cpp |
index b9a00c246cb41508fc4ee9c39fddd6dcfbaa925e..7fd5bda1c58d0e61fd9d7861dd805194a847f5ac 100644 |
--- a/Source/bindings/v8/IDBBindingUtilitiesTest.cpp |
+++ b/Source/bindings/v8/IDBBindingUtilitiesTest.cpp |
@@ -93,14 +93,11 @@ void checkKeyPathNumberValue(const ScriptValue& value, const String& keyPath, in |
class IDBKeyFromValueAndKeyPathTest : public testing::Test { |
public: |
IDBKeyFromValueAndKeyPathTest() |
- : m_handleScope(v8::Isolate::GetCurrent()) |
- , m_scope(v8::Context::New(v8::Isolate::GetCurrent())) |
+ : m_scope(V8BindingTestScope::create(v8::Isolate::GetCurrent())) |
{ |
} |
- |
private: |
- v8::HandleScope m_handleScope; |
- v8::Context::Scope m_scope; |
+ OwnPtr<V8BindingTestScope> m_scope; |
}; |
TEST_F(IDBKeyFromValueAndKeyPathTest, TopLevelPropertyStringValue) |