mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-25 22:01:30 +00:00
Bug 1046839 - Unnecessary double cloneInto in mozSettings, r=bholley
This commit is contained in:
parent
7251c1c7cd
commit
55469e4be7
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user