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

Unified Diff: Source/web/tests/CustomEventTest.cpp

Issue 295163005: Remove ScriptState::current() from IDBRequest (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 7 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/InspectorIndexedDBAgent.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/tests/CustomEventTest.cpp
diff --git a/Source/web/tests/CustomEventTest.cpp b/Source/web/tests/CustomEventTest.cpp
index 81bb2b9fd5bc1606be83fe06d474ecae1f7becf9..2a8b72c4d67fa4ff8c98c27f89d1b5a4f56458ab 100644
--- a/Source/web/tests/CustomEventTest.cpp
+++ b/Source/web/tests/CustomEventTest.cpp
@@ -108,7 +108,7 @@ TEST(CustomEventTest, InitWithSerializedScriptValue)
WebDOMCustomEvent customEvent = event.to<WebDOMCustomEvent>();
v8::Isolate* isolate = toIsolate(frame->frame());
- V8ExecutionScope scope(isolate);
+ V8TestingScope scope(isolate);
customEvent.initCustomEvent("blah", false, false, WebSerializedScriptValue::serialize(v8::Boolean::New(isolate, true)));
RefPtr<DOMWrapperWorld> world = DOMWrapperWorld::create();
RefPtr<EventListener> listener = TestListener::create(isolate, *world);
« no previous file with comments | « Source/modules/indexeddb/InspectorIndexedDBAgent.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698