mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 979161 part 3 - Use SpecialPowers.getDOMWindowUtils in paint_listener.js; r=mattwoodrow
We can't just use SpecialPowers.DOMWindowUtils since otherwise we end up with a DOMWindowUtils object that is bound to the parent object.
This commit is contained in:
parent
9fa0ffae79
commit
41c36539e0
@ -29,9 +29,7 @@
|
||||
if (subdoc) {
|
||||
subdoc.documentElement.getBoundingClientRect();
|
||||
}
|
||||
var CI = Components.interfaces;
|
||||
var utils = window.QueryInterface(CI.nsIInterfaceRequestor)
|
||||
.getInterface(CI.nsIDOMWindowUtils);
|
||||
var utils = SpecialPowers.getDOMWindowUtils(window);
|
||||
if (!utils.isMozAfterPaintPending) {
|
||||
if (debug) {
|
||||
dump("done...\n");
|
||||
|
Loading…
Reference in New Issue
Block a user