| Index: chrome/browser/resources/settings/settings_ui/settings_ui.js
|
| diff --git a/chrome/browser/resources/settings/settings_ui/settings_ui.js b/chrome/browser/resources/settings/settings_ui/settings_ui.js
|
| index 83cf803b5c0c7c227d57683e5e1baee491c087bc..56ac77bc48cdbfef034c8415a3fb1a463b898d09 100644
|
| --- a/chrome/browser/resources/settings/settings_ui/settings_ui.js
|
| +++ b/chrome/browser/resources/settings/settings_ui/settings_ui.js
|
| @@ -13,30 +13,27 @@
|
| * @group Chrome Settings Elements
|
| * @element cr-settings-ui
|
| */
|
| -Polymer('cr-settings-ui', {
|
| - publish: {
|
| +Polymer({
|
| + is: 'cr-settings-ui',
|
| +
|
| + properties: {
|
| /**
|
| * Preferences state.
|
| *
|
| - * @attribute prefs
|
| - * @type CrSettingsPrefsElement
|
| - * @default null
|
| + * @type {?CrSettingsPrefsElement}
|
| */
|
| - prefs: null,
|
| + prefs: Object,
|
|
|
| /**
|
| * Ordered list of settings pages available to the user. Do not edit
|
| * this variable directly.
|
| *
|
| - * @attribute pages
|
| - * @type Array<!Object>
|
| - * @default null
|
| + * @type {!Array<!Object>}
|
| */
|
| - pages: null,
|
| - },
|
| -
|
| - /** @override */
|
| - created: function() {
|
| - this.pages = [];
|
| + pages: {
|
| + type: Array,
|
| + value: function() { return []; },
|
| + notify: true,
|
| + },
|
| },
|
| });
|
|
|