Bug 1046839 - Unnecessary double cloneInto in mozSettings, r=bholley

This commit is contained in:
Andrea Marchesini 2014-07-31 17:46:23 +01:00
parent 7251c1c7cd
commit 55469e4be7

View File

@ -143,8 +143,7 @@ SettingsLock.prototype = {
let result = event.target.result[i];
var name = result.settingName;
if (DEBUG) debug("VAL: " + result.userValue +", " + result.defaultValue + "\n");
var value = result.userValue !== undefined ? result.userValue : result.defaultValue;
results[name] = this._wrap(value);
results[name] = result.userValue !== undefined ? result.userValue : result.defaultValue;
}
this._open = true;