summaryrefslogtreecommitdiff
path: root/chromium/third_party/blink/renderer/core/html/forms/resources/listPicker.js
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/third_party/blink/renderer/core/html/forms/resources/listPicker.js')
-rw-r--r--chromium/third_party/blink/renderer/core/html/forms/resources/listPicker.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/chromium/third_party/blink/renderer/core/html/forms/resources/listPicker.js b/chromium/third_party/blink/renderer/core/html/forms/resources/listPicker.js
index 8294f0b6d7e..0709fa0ee21 100644
--- a/chromium/third_party/blink/renderer/core/html/forms/resources/listPicker.js
+++ b/chromium/third_party/blink/renderer/core/html/forms/resources/listPicker.js
@@ -21,6 +21,9 @@ function initialize(args) {
global.params = args;
var main = $('main');
main.innerHTML = '';
+ if (global.params.isFormControlsRefreshEnabled) {
+ document.body.classList.add('controls-refresh');
+ }
global.picker = new ListPicker(main, args);
}
@@ -37,7 +40,6 @@ function handleArgumentsTimeout() {
*/
function ListPicker(element, config) {
Picker.call(this, element, config);
- window.pagePopupController.selectFontsFromOwnerDocument(document);
this._selectElement = createElement('select');
this._selectElement.size = 20;
this._element.appendChild(this._selectElement);