aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/layout_dom/document.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/script/layout_dom/document.rs')
-rw-r--r--components/script/layout_dom/document.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/components/script/layout_dom/document.rs b/components/script/layout_dom/document.rs
index f068600a005..f55c198ef48 100644
--- a/components/script/layout_dom/document.rs
+++ b/components/script/layout_dom/document.rs
@@ -64,11 +64,11 @@ impl<'ld, LayoutDataType: LayoutDataTrait> ServoLayoutDocument<'ld, LayoutDataTy
}
pub fn needs_paint_from_layout(&self) {
- unsafe { self.document.needs_paint_from_layout() }
+ self.document.needs_paint_from_layout()
}
pub fn will_paint(&self) {
- unsafe { self.document.will_paint() }
+ self.document.will_paint()
}
pub fn style_shared_lock(&self) -> &StyleSharedRwLock {