mirror of
https://github.com/servo/servo.git
synced 2025-08-05 21:50:18 +01:00
This reverts commit 8e15389cae
.
This commit is contained in:
parent
8e15389cae
commit
d6ae8dc112
152 changed files with 4622 additions and 5862 deletions
|
@ -158,11 +158,6 @@ pub struct Fragment {
|
|||
pub established_reference_frame: Option<ClipScrollNodeIndex>,
|
||||
}
|
||||
|
||||
#[cfg(debug_assertions)]
|
||||
size_of_test!(Fragment, 176);
|
||||
#[cfg(not(debug_assertions))]
|
||||
size_of_test!(Fragment, 152);
|
||||
|
||||
impl Serialize for Fragment {
|
||||
fn serialize<S: Serializer>(&self, serializer: S) -> Result<S::Ok, S::Error> {
|
||||
let mut serializer = serializer.serialize_struct("fragment", 3)?;
|
||||
|
@ -217,8 +212,6 @@ pub enum SpecificFragmentInfo {
|
|||
TruncatedFragment(Box<TruncatedFragmentInfo>),
|
||||
}
|
||||
|
||||
size_of_test!(SpecificFragmentInfo, 24);
|
||||
|
||||
impl SpecificFragmentInfo {
|
||||
fn restyle_damage(&self) -> RestyleDamage {
|
||||
let flow = match *self {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue