mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-24 05:11:16 +00:00
Bug 1667497 - Listen for MozAfterPaint on windowRoot. r=owlish
Differential Revision: https://phabricator.services.mozilla.com/D93027
This commit is contained in:
parent
6583e56861
commit
52d04941c0
@ -159,7 +159,7 @@ class GeckoViewContentChild extends GeckoViewActorChild {
|
||||
const onResize = function() {
|
||||
gotResize = true;
|
||||
if (dwu.isMozAfterPaintPending) {
|
||||
contentWindow.addEventListener(
|
||||
contentWindow.windowRoot.addEventListener(
|
||||
"MozAfterPaint",
|
||||
() => zoomToFocusedInput(),
|
||||
{ capture: true, once: true }
|
||||
|
Loading…
Reference in New Issue
Block a user