Index: chrome/browser/resources/md_downloads/crisper.js |
diff --git a/chrome/browser/resources/md_downloads/crisper.js b/chrome/browser/resources/md_downloads/crisper.js |
index 0c4f256ec3ce12f648de0f3422812bf0baea1277..4c03152402268766a3358ea7da910c3ff36dd979 100644 |
--- a/chrome/browser/resources/md_downloads/crisper.js |
+++ b/chrome/browser/resources/md_downloads/crisper.js |
@@ -1061,25 +1061,6 @@ function announceAccessibleMessage(msg) { |
} |
/** |
- * Calls chrome.send with a callback and restores the original afterwards. |
- * @param {string} name The name of the message to send. |
- * @param {!Array} params The parameters to send. |
- * @param {string} callbackName The name of the function that the backend calls. |
- * @param {!Function} callback The function to call. |
- */ |
-function chromeSend(name, params, callbackName, callback) { |
- var old = global[callbackName]; |
- global[callbackName] = function() { |
- // restore |
- global[callbackName] = old; |
- |
- var args = Array.prototype.slice.call(arguments); |
- return callback.apply(global, args); |
- }; |
- chrome.send(name, params); |
-} |
- |
-/** |
dschuyler
2016/03/04 19:16:38
This change seems unlike the other changes in this
Dan Beam
2016/03/04 20:23:16
no, the downloads page just hasn't been vulcanized
|
* Returns the scale factors supported by this platform for webui |
* resources. |
* @return {Array} The supported scale factors. |