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

Unified Diff: third_party/WebKit/Source/modules/cachestorage/CacheTest.cpp

Issue 1765423004: Revert of Use v8::MicrotasksScope internally in V8RecursionScope. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@v8rs-2-endofscope
Patch Set: Created 4 years, 9 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
Index: third_party/WebKit/Source/modules/cachestorage/CacheTest.cpp
diff --git a/third_party/WebKit/Source/modules/cachestorage/CacheTest.cpp b/third_party/WebKit/Source/modules/cachestorage/CacheTest.cpp
index 1c4030cb6521e26429a539ecca0335cbbfb0b701..7834ae90ae2227eeb0bdd739aabbe60738cc3f0b 100644
--- a/third_party/WebKit/Source/modules/cachestorage/CacheTest.cpp
+++ b/third_party/WebKit/Source/modules/cachestorage/CacheTest.cpp
@@ -249,7 +249,7 @@
{
ScriptValue onReject;
promise.then(UnreachableFunction::create(scriptState()), TestFunction::create(scriptState(), &onReject));
- v8::MicrotasksScope::PerformCheckpoint(isolate());
+ isolate()->RunMicrotasks();
return onReject;
}
@@ -263,7 +263,7 @@
{
ScriptValue onResolve;
promise.then(TestFunction::create(scriptState(), &onResolve), UnreachableFunction::create(scriptState()));
- v8::MicrotasksScope::PerformCheckpoint(isolate());
+ isolate()->RunMicrotasks();
return onResolve;
}

Powered by Google App Engine
This is Rietveld 408576698