Log element during selector matching

MozReview-Commit-ID: D8eFyRCy5BR
This commit is contained in:
J. Ryan Stinnett 2017-06-06 16:36:25 -05:00
parent eaefcbe551
commit 6b1b8bbee8
8 changed files with 35 additions and 2 deletions

View file

@ -151,6 +151,12 @@ impl fmt::Debug for Element {
}
}
impl fmt::Debug for Root<Element> {
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
(**self).fmt(f)
}
}
#[derive(PartialEq, HeapSizeOf)]
pub enum ElementCreator {
ParserCreated(u64),