Index: src/object-observe.js |
diff --git a/src/object-observe.js b/src/object-observe.js |
index c4ddd181d2841c479c3de34bd6d683554e2352bd..71eb6566083e96c306ab66cd13e8b35bca721751 100644 |
--- a/src/object-observe.js |
+++ b/src/object-observe.js |
@@ -434,8 +434,7 @@ function ObserverEnqueueIfActive(observer, objectInfo, changeRecord, |
var callbackInfo = CallbackInfoNormalize(callback); |
if (IS_NULL(GetPendingObservers())) { |
SetPendingObservers(nullProtoObject()) |
- GetMicrotaskQueue().push(ObserveMicrotaskRunner); |
- %SetMicrotaskPending(true); |
+ EnqueueMicrotask(ObserveMicrotaskRunner); |
} |
GetPendingObservers()[callbackInfo.priority] = callback; |
callbackInfo.push(changeRecord); |