aboutsummaryrefslogtreecommitdiffstats
path: root/components/layout/css/node_style.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/layout/css/node_style.rs')
-rw-r--r--components/layout/css/node_style.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/layout/css/node_style.rs b/components/layout/css/node_style.rs
index 946ac11a5e7..5b33d8d4c2d 100644
--- a/components/layout/css/node_style.rs
+++ b/components/layout/css/node_style.rs
@@ -23,7 +23,7 @@ pub trait StyledNode {
impl<'ln> StyledNode for ThreadSafeLayoutNode<'ln> {
#[inline]
- #[allow(unsafe_blocks)]
+ #[allow(unsafe_code)]
fn style<'a>(&'a self) -> &'a Arc<ComputedValues> {
unsafe {
let layout_data_ref = self.borrow_layout_data();