| Index: chrome/browser/resources/settings/settings_main/settings_main.js
|
| diff --git a/chrome/browser/resources/settings/settings_main/settings_main.js b/chrome/browser/resources/settings/settings_main/settings_main.js
|
| index 51bb5f422fb7db5c411e7c39dc236072f6f8e1db..22e319f26a0ed4c0183b3433c2517ed91265bfab 100644
|
| --- a/chrome/browser/resources/settings/settings_main/settings_main.js
|
| +++ b/chrome/browser/resources/settings/settings_main/settings_main.js
|
| @@ -76,7 +76,9 @@ Polymer({
|
| */
|
| pageVisibility: {
|
| type: Object,
|
| - value: function() { return {}; },
|
| + value: function() {
|
| + return {};
|
| + },
|
| },
|
|
|
| showAndroidApps: Boolean,
|
| @@ -122,8 +124,8 @@ Polymer({
|
| var visibleBottom = scroller.scrollTop + scroller.clientHeight;
|
| var overscrollBottom = overscroll.offsetTop + overscroll.scrollHeight;
|
| // How much of the overscroll is visible (may be negative).
|
| - var visibleOverscroll = overscroll.scrollHeight -
|
| - (overscrollBottom - visibleBottom);
|
| + var visibleOverscroll =
|
| + overscroll.scrollHeight - (overscrollBottom - visibleBottom);
|
| this.overscroll_ = Math.max(opt_minHeight || 0, visibleOverscroll);
|
| },
|
|
|
| @@ -229,12 +231,12 @@ Polymer({
|
| */
|
| getPage_: function(route) {
|
| if (settings.Route.ABOUT.contains(route)) {
|
| - return /** @type {?SettingsAboutPageElement} */(
|
| + return /** @type {?SettingsAboutPageElement} */ (
|
| this.$$('settings-about-page'));
|
| }
|
| if (settings.Route.BASIC.contains(route) ||
|
| settings.Route.ADVANCED.contains(route)) {
|
| - return /** @type {?SettingsBasicPageElement} */(
|
| + return /** @type {?SettingsBasicPageElement} */ (
|
| this.$$('settings-basic-page'));
|
| }
|
| assertNotReached();
|
|
|