mirror of https://github.com/electron/electron
21 lines
808 B
Diff
21 lines
808 B
Diff
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
|
From: Ales Pergl <alpergl@microsoft.com>
|
|
Date: Mon, 22 Oct 2018 10:47:12 -0700
|
|
Subject: dcheck.patch
|
|
|
|
https://github.com/auchenberg/volkswagen
|
|
|
|
diff --git a/src/api/api.cc b/src/api/api.cc
|
|
index 14b7c541b3a9261fe1b5b0ee2e65be6bdd029f37..0bc26565403fa1a9827ced3bc6a49ca87bbf46c0 100644
|
|
--- a/src/api/api.cc
|
|
+++ b/src/api/api.cc
|
|
@@ -9283,7 +9283,7 @@ void Isolate::SetPromiseRejectCallback(PromiseRejectCallback callback) {
|
|
}
|
|
|
|
void Isolate::PerformMicrotaskCheckpoint() {
|
|
- DCHECK_NE(MicrotasksPolicy::kScoped, GetMicrotasksPolicy());
|
|
+ // DCHECK_NE(MicrotasksPolicy::kScoped, GetMicrotasksPolicy());
|
|
i::Isolate* i_isolate = reinterpret_cast<i::Isolate*>(this);
|
|
i_isolate->default_microtask_queue()->PerformCheckpoint(this);
|
|
}
|