diff options
author | Clark Gaebel <cgaebel@mozilla.com> | 2014-10-10 11:25:41 -0400 |
---|---|---|
committer | Clark Gaebel <cgaebel@mozilla.com> | 2014-10-14 10:33:46 -0700 |
commit | f552e2f7501337fae76ad66401a1e011d00211df (patch) | |
tree | 7014f51113bbbe7503af1e10b1cbe85fed3a341d /components/util/time.rs | |
parent | d1685015559562a42cc440f4e3b7a97d38cc642c (diff) | |
download | servo-f552e2f7501337fae76ad66401a1e011d00211df.tar.gz servo-f552e2f7501337fae76ad66401a1e011d00211df.zip |
try to reset flows which need reflow, since reflow isn't yet idempotent
Diffstat (limited to 'components/util/time.rs')
-rw-r--r-- | components/util/time.rs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/components/util/time.rs b/components/util/time.rs index d3e9b5df65d..8ac5bd05943 100644 --- a/components/util/time.rs +++ b/components/util/time.rs @@ -68,6 +68,8 @@ pub enum TimeProfilerCategory { CompositingCategory, LayoutPerformCategory, LayoutStyleRecalcCategory, + LayoutRestyleDamagePropagation, + LayoutNonIncrementalReset, LayoutSelectorMatchCategory, LayoutTreeBuilderCategory, LayoutDamagePropagateCategory, @@ -86,6 +88,8 @@ impl Formatable for TimeProfilerCategory { fn format(&self) -> String { let padding = match *self { LayoutStyleRecalcCategory | + LayoutRestyleDamagePropagation | + LayoutNonIncrementalReset | LayoutMainCategory | LayoutDispListBuildCategory | LayoutShapingCategory | @@ -99,6 +103,8 @@ impl Formatable for TimeProfilerCategory { CompositingCategory => "Compositing", LayoutPerformCategory => "Layout", LayoutStyleRecalcCategory => "Style Recalc", + LayoutRestyleDamagePropagation => "Restyle Damage Propagation", + LayoutNonIncrementalReset => "Non-incremental reset (temporary)", LayoutSelectorMatchCategory => "Selector Matching", LayoutTreeBuilderCategory => "Tree Building", LayoutDamagePropagateCategory => "Damage Propagation", |