Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1757)

Unified Diff: Source/modules/indexeddb/IDBTransactionTest.cpp

Issue 183803017: Revert of Ensure DOMWrapperWorld always exists in all webkit_unit_tests (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/modules/indexeddb/IDBRequestTest.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/indexeddb/IDBTransactionTest.cpp
diff --git a/Source/modules/indexeddb/IDBTransactionTest.cpp b/Source/modules/indexeddb/IDBTransactionTest.cpp
index 005080baa3d49286efc84c94ed0339a614f43c69..ed13bd575b7fa0ae78156f20a6e28ef2a2a814f6 100644
--- a/Source/modules/indexeddb/IDBTransactionTest.cpp
+++ b/Source/modules/indexeddb/IDBTransactionTest.cpp
@@ -50,7 +50,8 @@
class IDBTransactionTest : public testing::Test {
public:
IDBTransactionTest()
- : m_scope(V8BindingTestScope::create(v8::Isolate::GetCurrent()))
+ : m_handleScope(v8::Isolate::GetCurrent())
+ , m_scope(v8::Context::New(v8::Isolate::GetCurrent()))
, m_document(Document::create())
{
}
@@ -61,7 +62,8 @@
}
private:
- OwnPtr<V8BindingTestScope> m_scope;
+ v8::HandleScope m_handleScope;
+ v8::Context::Scope m_scope;
RefPtr<Document> m_document;
};
« no previous file with comments | « Source/modules/indexeddb/IDBRequestTest.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698