mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-09 21:33:43 +00: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
ad94336c66
commit
80173f8459
@ -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