layout: use debug! instead of warn! for the expected ThreadSafeLayoutElement methods

This commit is contained in:
Emilio Cobos Álvarez 2016-05-03 22:41:14 +02:00
parent ca41e5359f
commit aacf67afcd
No known key found for this signature in database
GPG key ID: 056B727BB9C1027C

View file

@ -1385,7 +1385,7 @@ impl <'le> ::selectors::Element for ServoThreadSafeLayoutElement<'le> {
} }
fn is_html_element_in_html_document(&self) -> bool { 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 true
} }
@ -1406,12 +1406,12 @@ impl <'le> ::selectors::Element for ServoThreadSafeLayoutElement<'le> {
} }
fn get_id(&self) -> Option<Atom> { fn get_id(&self) -> Option<Atom> {
warn!("ServoThreadSafeLayoutElement::get_id called"); debug!("ServoThreadSafeLayoutElement::get_id called");
None None
} }
fn has_class(&self, _name: &Atom) -> bool { fn has_class(&self, _name: &Atom) -> bool {
warn!("ServoThreadSafeLayoutElement::has_class called"); debug!("ServoThreadSafeLayoutElement::has_class called");
false false
} }