| Index: chrome/browser/resources/print_preview/print_preview_utils.js
|
| diff --git a/chrome/browser/resources/print_preview/print_preview_utils.js b/chrome/browser/resources/print_preview/print_preview_utils.js
|
| index 35bb80a40feb292fbfdbe6e58245c04023b59695..14eec327457fbad5a4eb3236077bc27806e17350 100644
|
| --- a/chrome/browser/resources/print_preview/print_preview_utils.js
|
| +++ b/chrome/browser/resources/print_preview/print_preview_utils.js
|
| @@ -192,12 +192,12 @@ function pageSetToPageRanges(pageSet) {
|
| * @param {boolean} isVisible Whether the element should be visible or not.
|
| */
|
| function setIsVisible(element, isVisible) {
|
| - element.style.display = isVisible ? '' : 'none';
|
| + element.hidden = !isVisible;
|
| }
|
|
|
| /**
|
| - * @param {Array.<object>} array Array to check for item.
|
| - * @param {object} item Item to look for in array.
|
| + * @param {!Array} array Array to check for item.
|
| + * @param {*} item Item to look for in array.
|
| * @return {boolean} Whether the item is in the array.
|
| */
|
| function arrayContains(array, item) {
|
|
|