Index: src/promise.js |
diff --git a/src/promise.js b/src/promise.js |
index 4ff5be58b5199eadde22ff3499422d642cd11cfc..2634fde0bb8e8c9b5f0e5eb52be5dd7fde566125 100644 |
--- a/src/promise.js |
+++ b/src/promise.js |
@@ -371,7 +371,7 @@ function PromiseHasUserDefinedRejectHandler() { |
%AddNamedProperty(GlobalPromise.prototype, symbolToStringTag, "Promise", |
DONT_ENUM | READ_ONLY); |
-$installFunctions(GlobalPromise, DONT_ENUM, [ |
+utils.InstallFunctions(GlobalPromise, DONT_ENUM, [ |
"defer", PromiseDeferred, |
"accept", PromiseResolved, |
"reject", PromiseRejected, |
@@ -380,7 +380,7 @@ $installFunctions(GlobalPromise, DONT_ENUM, [ |
"resolve", PromiseCast |
]); |
-$installFunctions(GlobalPromise.prototype, DONT_ENUM, [ |
+utils.InstallFunctions(GlobalPromise.prototype, DONT_ENUM, [ |
"chain", PromiseChain, |
"then", PromiseThen, |
"catch", PromiseCatch |