author | Emilio Cobos Álvarez <emilio@crisal.io> |
Fri, 10 Nov 2017 07:28:29 -0600 | |
changeset 391290 | 396d357f337f134df9df5c635a064c420d1f035b |
parent 391289 | 417011993e0cd8b066ac1e33c5c20ef67779af6a |
child 391291 | 004b34f82c4445d37834306e81f90d82acb82f14 |
push id | 97236 |
push user | ryanvm@gmail.com |
push date | Fri, 10 Nov 2017 21:14:41 +0000 |
treeherder | mozilla-inbound@abc17e0eea77 [default view] [failures only] |
perfherder | [talos] [build metrics] [platform microbench] (compared to previous push) |
reviewers | emilio |
milestone | 58.0a1 |
first release with | nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
|
last release without | nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
|
--- a/servo/components/layout/wrapper.rs +++ b/servo/components/layout/wrapper.rs @@ -93,17 +93,17 @@ pub trait ThreadSafeLayoutNodeHelpers { /// is the first time layout is visiting this node. We implement this here, rather than /// with the rest of the wrapper layer, because we need layout code to determine whether /// layout has visited the node. fn restyle_damage(self) -> RestyleDamage; } impl<T: ThreadSafeLayoutNode> ThreadSafeLayoutNodeHelpers for T { fn flags(self) -> LayoutDataFlags { - self.borrow_layout_data().as_ref().unwrap().flags + self.borrow_layout_data().as_ref().unwrap().flags } fn insert_flags(self, new_flags: LayoutDataFlags) { self.mutate_layout_data().unwrap().flags.insert(new_flags); } fn remove_flags(self, flags: LayoutDataFlags) { self.mutate_layout_data().unwrap().flags.remove(flags);