diff options
Diffstat (limited to 'third_party/WebKit/Source/modules/cachestorage')
-rw-r--r-- | third_party/WebKit/Source/modules/cachestorage/CacheTest.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/third_party/WebKit/Source/modules/cachestorage/CacheTest.cpp b/third_party/WebKit/Source/modules/cachestorage/CacheTest.cpp index df86cda..fcd5750 100644 --- a/third_party/WebKit/Source/modules/cachestorage/CacheTest.cpp +++ b/third_party/WebKit/Source/modules/cachestorage/CacheTest.cpp @@ -249,7 +249,7 @@ public: { ScriptValue onReject; promise.then(UnreachableFunction::create(getScriptState()), TestFunction::create(getScriptState(), &onReject)); - isolate()->RunMicrotasks(); + v8::MicrotasksScope::PerformCheckpoint(isolate()); return onReject; } @@ -263,7 +263,7 @@ public: { ScriptValue onResolve; promise.then(TestFunction::create(getScriptState(), &onResolve), UnreachableFunction::create(getScriptState())); - isolate()->RunMicrotasks(); + v8::MicrotasksScope::PerformCheckpoint(isolate()); return onResolve; } |