diff options
author | Keegan McAllister <kmcallister@mozilla.com> | 2013-08-12 11:03:07 -0700 |
---|---|---|
committer | Keegan McAllister <kmcallister@mozilla.com> | 2013-08-15 13:56:29 -0700 |
commit | a2d9810b698f0fb70698ff97c113178becec1374 (patch) | |
tree | e6e9d53e4aa453a4bfa8a32849dbe33b87dafd29 /src/components/script/layout_interface.rs | |
parent | ef50acfa899789c5d581084fb475c047d7ee7706 (diff) | |
download | servo-a2d9810b698f0fb70698ff97c113178becec1374.tar.gz servo-a2d9810b698f0fb70698ff97c113178becec1374.zip |
Update Rust version again
This gets us the new runtime.
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, |