summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/Source/modules/cachestorage/CacheTest.cpp
diff options
context:
space:
mode:
authordgozman <dgozman@chromium.org>2016-03-10 23:50:47 -0800
committerCommit bot <commit-bot@chromium.org>2016-03-11 07:53:09 +0000
commitfdfd5d17ab08e528799125a242893f6f5dcbea43 (patch)
treeeef0b94e34f93d482f3e8b11b0b0cb121f6a19f2 /third_party/WebKit/Source/modules/cachestorage/CacheTest.cpp
parent119f7e1b215f82cf545565e9d83a80ca650c6e72 (diff)
downloadchromium_src-fdfd5d17ab08e528799125a242893f6f5dcbea43.zip
chromium_src-fdfd5d17ab08e528799125a242893f6f5dcbea43.tar.gz
chromium_src-fdfd5d17ab08e528799125a242893f6f5dcbea43.tar.bz2
Use v8::MicrotasksScope internally in V8RecursionScope.
If this sticks we can just remove V8RecursionScope and WebScopedMicrotaskSuppression, along with other cleanups. Attempt #3. First one broke GinJavaBridgeValueConverterTest.TypedArrays. Second one broke FileManagerBrowserTest family on ChromeOS. BUG=585949 Review URL: https://codereview.chromium.org/1743763004 Cr-Commit-Position: refs/heads/master@{#380570}
Diffstat (limited to 'third_party/WebKit/Source/modules/cachestorage/CacheTest.cpp')
-rw-r--r--third_party/WebKit/Source/modules/cachestorage/CacheTest.cpp4
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;
}