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

Unified Diff: chrome/browser/resources/help/help.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 | « chrome/browser/resources/downloads/downloads.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/help/help.js
diff --git a/chrome/browser/resources/help/help.js b/chrome/browser/resources/help/help.js
index 877a98941784909c8cd0a4d10bb3c54b849a721d..5d92a7210a137160cda2ffd9d03044b885de614a 100644
--- a/chrome/browser/resources/help/help.js
+++ b/chrome/browser/resources/help/help.js
@@ -35,17 +35,17 @@ cr.define('help', function() {
if (productTOS)
productTOS.innerHTML = loadTimeData.getString('productTOS');
- $('get-help').onclick = chrome.send.bind(chrome, 'openHelpPage');
+ $('get-help').onclick = chrome.send.bind(chrome, 'openHelpPage', []);
$('report-issue').onclick =
- chrome.send.bind(chrome, 'openFeedbackDialog');
+ chrome.send.bind(chrome, 'openFeedbackDialog', []);
this.maybeSetOnClick_($('more-info-expander'),
this.toggleMoreInfo_.bind(this));
this.maybeSetOnClick_($('promote'),
- chrome.send.bind(chrome, 'promoteUpdater'));
+ chrome.send.bind(chrome, 'promoteUpdater', []));
this.maybeSetOnClick_($('relaunch'),
- chrome.send.bind(chrome, 'relaunchNow'));
+ chrome.send.bind(chrome, 'relaunchNow', []));
var channelChanger = $('channel-changer');
if (channelChanger) {
« no previous file with comments | « chrome/browser/resources/downloads/downloads.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698