aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/domquad.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/script/dom/domquad.rs')
-rw-r--r--components/script/dom/domquad.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/dom/domquad.rs b/components/script/dom/domquad.rs
index abe30f80bdd..7d80dc9d8fd 100644
--- a/components/script/dom/domquad.rs
+++ b/components/script/dom/domquad.rs
@@ -107,7 +107,7 @@ impl DOMQuadMethods for DOMQuad {
let right = self.p1.X().max(self.p2.X()).max(self.p3.X()).max(self.p4.X());
let bottom = self.p1.Y().max(self.p2.Y()).max(self.p3.Y()).max(self.p4.Y());
- DOMRect::new(&self.global_scope(),
+ DOMRect::new(&self.global(),
left,
top,
right - left,