summaryrefslogtreecommitdiffstats
path: root/extensions/renderer/api_test_base.cc
diff options
context:
space:
mode:
Diffstat (limited to 'extensions/renderer/api_test_base.cc')
-rw-r--r--extensions/renderer/api_test_base.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/extensions/renderer/api_test_base.cc b/extensions/renderer/api_test_base.cc
index 79f95e2..abf868b 100644
--- a/extensions/renderer/api_test_base.cc
+++ b/extensions/renderer/api_test_base.cc
@@ -214,7 +214,7 @@ void ApiTestEnvironment::RunTestInner(const std::string& test_name,
}
void ApiTestEnvironment::RunPromisesAgain() {
- v8::MicrotasksScope::PerformCheckpoint(env()->isolate());
+ env()->isolate()->RunMicrotasks();
base::MessageLoop::current()->PostTask(
FROM_HERE, base::Bind(&ApiTestEnvironment::RunPromisesAgain,
base::Unretained(this)));