diff options
Diffstat (limited to 'src/components/script/layout_interface.rs')
-rw-r--r-- | src/components/script/layout_interface.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/script/layout_interface.rs b/src/components/script/layout_interface.rs index c7c7634f80b..b9e349bf50e 100644 --- a/src/components/script/layout_interface.rs +++ b/src/components/script/layout_interface.rs @@ -62,7 +62,7 @@ impl DocumentDamageLevel { /// /// FIXME(pcwalton): This could be refactored to use `max` and the `Ord` trait, and this /// function removed. - fn add(&mut self, new_damage: DocumentDamageLevel) { + pub fn add(&mut self, new_damage: DocumentDamageLevel) { match (*self, new_damage) { (ReflowDocumentDamage, new_damage) => *self = new_damage, (MatchSelectorsDocumentDamage, _) => *self = MatchSelectorsDocumentDamage, |