mirror of
https://github.com/servo/servo.git
synced 2025-08-06 22:15:33 +01:00
Report memory usage from LayoutThreadData Stylist [#7038]
This commit is contained in:
parent
e551ea7322
commit
db2e10a70f
11 changed files with 133 additions and 164 deletions
|
@ -20,7 +20,7 @@ define_css_keyword_enum!(Orientation:
|
|||
"landscape" => Landscape);
|
||||
|
||||
|
||||
#[derive(Clone, Debug, PartialEq, Deserialize, Serialize)]
|
||||
#[derive(Clone, Debug, PartialEq, Deserialize, Serialize, HeapSizeOf)]
|
||||
pub struct ViewportConstraints {
|
||||
pub size: TypedSize2D<ViewportPx, f32>,
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue