From aacf67afcdbd712406b7f8ca4ca398492a5addce Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Emilio=20Cobos=20=C3=81lvarez?= Date: Tue, 3 May 2016 22:41:14 +0200 Subject: [PATCH] layout: use `debug!` instead of `warn!` for the expected ThreadSafeLayoutElement methods --- components/layout/wrapper.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/components/layout/wrapper.rs b/components/layout/wrapper.rs index 96540e4299c..35353a85cf1 100644 --- a/components/layout/wrapper.rs +++ b/components/layout/wrapper.rs @@ -1385,7 +1385,7 @@ impl <'le> ::selectors::Element for ServoThreadSafeLayoutElement<'le> { } fn is_html_element_in_html_document(&self) -> bool { - warn!("ServoThreadSafeLayoutElement::is_html_element_in_html_document called"); + debug!("ServoThreadSafeLayoutElement::is_html_element_in_html_document called"); true } @@ -1406,12 +1406,12 @@ impl <'le> ::selectors::Element for ServoThreadSafeLayoutElement<'le> { } fn get_id(&self) -> Option { - warn!("ServoThreadSafeLayoutElement::get_id called"); + debug!("ServoThreadSafeLayoutElement::get_id called"); None } fn has_class(&self, _name: &Atom) -> bool { - warn!("ServoThreadSafeLayoutElement::has_class called"); + debug!("ServoThreadSafeLayoutElement::has_class called"); false }