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

Unified Diff: chrome/browser/resources/downloads/downloads.js

Issue 10562042: WebUI: Pass an empty parameter list to invocations of chrome.send.bind. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 6 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
« no previous file with comments | « no previous file | chrome/browser/resources/help/help.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/downloads/downloads.js
diff --git a/chrome/browser/resources/downloads/downloads.js b/chrome/browser/resources/downloads/downloads.js
index e789e459957c1f89d913b9744fbd5cf60a9acb6f..48a5b5b0face4a53d2c42a315b06696f518e5f88 100644
--- a/chrome/browser/resources/downloads/downloads.js
+++ b/chrome/browser/resources/downloads/downloads.js
@@ -644,7 +644,7 @@ function load() {
// TODO(jhawkins): Use a link-button here.
var openDownloadsFolderLink = $('open-downloads-folder');
openDownloadsFolderLink.onclick =
- chrome.send.bind(chrome, 'openDownloadsFolder');
+ chrome.send.bind(chrome, 'openDownloadsFolder', []);
openDownloadsFolderLink.oncontextmenu = function() { return false; };
$('search-link').onclick = function(e) {
« no previous file with comments | « no previous file | chrome/browser/resources/help/help.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698