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

Unified Diff: Source/modules/indexeddb/IDBRequestTest.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/core/animation/AnimationTimingInputTest.cpp ('k') | Source/modules/indexeddb/IDBTransactionTest.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/indexeddb/IDBRequestTest.cpp
diff --git a/Source/modules/indexeddb/IDBRequestTest.cpp b/Source/modules/indexeddb/IDBRequestTest.cpp
index 5f93d1b743020534936d2ad773d991b6756c325a..3dc1bf24d5daec2ac5d70d064abc544c968e7854 100644
--- a/Source/modules/indexeddb/IDBRequestTest.cpp
+++ b/Source/modules/indexeddb/IDBRequestTest.cpp
@@ -72,7 +72,8 @@
class IDBRequestTest : public testing::Test {
public:
IDBRequestTest()
- : m_scope(V8BindingTestScope::create(v8::Isolate::GetCurrent()))
+ : m_handleScope(v8::Isolate::GetCurrent())
+ , m_scope(v8::Context::New(v8::Isolate::GetCurrent()))
, m_context(adoptRef(new NullExecutionContext()))
{
}
@@ -83,7 +84,8 @@
}
private:
- OwnPtr<V8BindingTestScope> m_scope;
+ v8::HandleScope m_handleScope;
+ v8::Context::Scope m_scope;
RefPtr<ExecutionContext> m_context;
};
« no previous file with comments | « Source/core/animation/AnimationTimingInputTest.cpp ('k') | Source/modules/indexeddb/IDBTransactionTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698