Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(739)

Unified Diff: remoting/webapp/js_proto/dom_proto.js

Issue 848993002: Improve apps v2 upgrade UX (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« remoting/webapp/crd/js/remoting.js ('K') | « remoting/webapp/crd/js/remoting.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/webapp/js_proto/dom_proto.js
diff --git a/remoting/webapp/js_proto/dom_proto.js b/remoting/webapp/js_proto/dom_proto.js
index 5cf5f5e68a5f43a640594764c4899de7b0587778..cec2775b1b1714223b7bb9d318911f54e31043b4 100644
--- a/remoting/webapp/js_proto/dom_proto.js
+++ b/remoting/webapp/js_proto/dom_proto.js
@@ -219,13 +219,13 @@ Promise.prototype['catch'] = function (onReject) {};
* @param {Array.<Promise>} promises
* @return {Promise}
*/
-Promise.prototype.race = function (promises) {}
+Promise.race = function (promises) {}
/**
* @param {Array.<Promise>} promises
* @return {Promise}
*/
-Promise.prototype.all = function (promises) {};
+Promise.all = function (promises) {};
/**
* @param {*=} reason
« remoting/webapp/crd/js/remoting.js ('K') | « remoting/webapp/crd/js/remoting.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698