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

Unified Diff: ui/file_manager/externs/es7_workaround.js

Issue 1495873002: AudioPlayer: Stop using Object.observe() and Array.observe(). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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
Index: ui/file_manager/externs/es7_workaround.js
diff --git a/ui/file_manager/externs/es7_workaround.js b/ui/file_manager/externs/es7_workaround.js
index 4d76e88e6f7eeb4ad2c6c07c6863993589a05629..e1275084067096d357b6eb480106929950e7a9e9 100644
--- a/ui/file_manager/externs/es7_workaround.js
+++ b/ui/file_manager/externs/es7_workaround.js
@@ -10,19 +10,6 @@
*/
/**
- * @param {!Object} obj
- * @param {function(!Array<!Object>)} callback
- * @param {!Array<string>=} acceptList
- */
-Object.observe = function(obj, callback, acceptList) {};
-
-/**
- * @param {!Object} obj
- * @param {function(!Array<!Object>)} callback
- */
-Object.unobserve = function(obj, callback) {};
-
-/**
* @param {!Array} arr
* @param {function(!Array<!Object>)} callback
*/

Powered by Google App Engine
This is Rietveld 408576698