Bug 1207490 - Part 1: Remove use of expression closure from browser/base/. r=dao

This commit is contained in:
Tooru Fujisawa
2015-09-21 00:29:37 +09:00
parent 5ce0634f65
commit 5c61999d79
10 changed files with 38 additions and 26 deletions

View File

@@ -406,8 +406,8 @@ Sanitizer.prototype = {
let count = 0;
let countDone = {
handleResult : function(aResult) count = aResult,
handleError : function(aError) Components.utils.reportError(aError),
handleResult : aResult => count = aResult,
handleError : aError => Components.utils.reportError(aError),
handleCompletion :
function(aReason) { aCallback("formdata", aReason == 0 && count > 0, aArg); }
};