| Index: chrome/browser/resources/options/browser_options.js
|
| diff --git a/chrome/browser/resources/options/browser_options.js b/chrome/browser/resources/options/browser_options.js
|
| index c7bcb147c8cd40ab170006dd21461063323f6249..b6a566a3be651153513ab16e34ab4384553ad2ec 100644
|
| --- a/chrome/browser/resources/options/browser_options.js
|
| +++ b/chrome/browser/resources/options/browser_options.js
|
| @@ -751,7 +751,7 @@ cr.define('options', function() {
|
| this.sectionHeightChangeTimeout_ = setTimeout(function() {
|
| section.style.height = (showing ? container.offsetHeight : 0) + 'px';
|
| this.sectionHeightChangeTimeout_ = null;
|
| - });
|
| + }, 0);
|
| },
|
|
|
| /**
|
| @@ -1147,7 +1147,7 @@ cr.define('options', function() {
|
|
|
| /**
|
| * Shows the autoLaunch preference and initializes its checkbox value.
|
| - * @param {bool} enabled Whether autolaunch is enabled or or not.
|
| + * @param {boolean} enabled Whether autolaunch is enabled or or not.
|
| * @private
|
| */
|
| updateAutoLaunchState_: function(enabled) {
|
| @@ -1530,9 +1530,10 @@ cr.define('options', function() {
|
| /**
|
| * Set network prediction checkbox value.
|
| *
|
| - * @param {Object} pref Information about network prediction options.
|
| - * @param {number} pref.value The value of network prediction options.
|
| - * @param {boolean} pref.disabled If the pref is not user modifiable.
|
| + * @param {{value: number, disabled: boolean}} pref Information about
|
| + * network prediction options. |pref.value| is the value of network
|
| + * prediction options. |pref.disabled| shows if the pref is not user
|
| + * modifiable.
|
| * @private
|
| */
|
| setNetworkPredictionValue_: function(pref) {
|
| @@ -1550,11 +1551,12 @@ cr.define('options', function() {
|
| * Set the font size selected item. This item actually reflects two
|
| * preferences: the default font size and the default fixed font size.
|
| *
|
| - * @param {Object} pref Information about the font size preferences.
|
| - * @param {number} pref.value The value of the default font size pref.
|
| - * @param {boolean} pref.disabled True if either pref not user modifiable.
|
| - * @param {string} pref.controlledBy The source of the pref value(s) if
|
| - * either pref is currently not controlled by the user.
|
| + * @param {{value: number, disabled: boolean, controlledBy: string}} pref
|
| + * Information about the font size preferences. |pref.value| is the
|
| + * value of the default font size pref. |pref.disabled| is true if
|
| + * either pref not user modifiable. |pref.controlledBy| is the source of
|
| + * the pref value(s) if either pref is currently not controlled by the
|
| + * user.
|
| * @private
|
| */
|
| setFontSize_: function(pref) {
|
|
|