Index: chrome/browser/resources/settings/prefs/prefs.js |
diff --git a/chrome/browser/resources/settings/prefs/prefs.js b/chrome/browser/resources/settings/prefs/prefs.js |
index 4ac5a35cf59706025f4f2c4746c7e226ced00879..59ce83c18e4dac57d8a3bba3ec9b76589079963f 100644 |
--- a/chrome/browser/resources/settings/prefs/prefs.js |
+++ b/chrome/browser/resources/settings/prefs/prefs.js |
@@ -84,7 +84,7 @@ |
if (!root.hasOwnProperty(token)) { |
let path = 'prefStore.' + tokens.slice(0, i + 1).join('.'); |
- this.setPathValue(path, {}); |
+ this.set(path, {}); |
} |
root = root[token]; |
} |
@@ -93,7 +93,7 @@ |
// observer fires. |
for (let objKey in prefObj) { |
let path = 'prefStore.' + prefObj.key + '.' + objKey; |
- this.setPathValue(path, prefObj[objKey]); |
+ this.set(path, prefObj[objKey]); |
} |
if (shouldObserve) { |