| 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 f9c5b262951b04eab4ebb373e2e72d97fff130ae..8cc30493e91f29f742b54ebdc4788842843a1d62 100644
|
| --- a/chrome/browser/resources/settings/prefs/prefs.js
|
| +++ b/chrome/browser/resources/settings/prefs/prefs.js
|
| @@ -19,22 +19,23 @@
|
| (function() {
|
| 'use strict';
|
|
|
| - Polymer('cr-settings-prefs', {
|
| - publish: {
|
| + Polymer({
|
| + is: 'cr-settings-prefs',
|
| +
|
| + properties: {
|
| /**
|
| * Object containing all preferences.
|
| - *
|
| - * @attribute settings
|
| - * @type {Object}
|
| - * @default null
|
| */
|
| - settings: null,
|
| + settings: {
|
| + type: Object,
|
| + value: function() { return {}; },
|
| + notify: true,
|
| + },
|
| },
|
|
|
| /** @override */
|
| created: function() {
|
| CrSettingsPrefs.isInitialized = false;
|
| - this.settings = {};
|
|
|
| chrome.settingsPrivate.onPrefsChanged.addListener(
|
| this.onPrefsChanged_.bind(this));
|
|
|