mirror of
https://github.com/servo/servo.git
synced 2025-06-21 15:49:04 +01:00
script: Remove unused Window::page_clip_rect
(#37394)
This value was used when rendering was not done by WebRender. Nowadays, we do not need this page clip rect concept and it is completely unused. Testing: This just remove dead code, so should be covered by existing tests. Signed-off-by: Martin Robinson <mrobinson@igalia.com>
This commit is contained in:
parent
c36ef34464
commit
fab958258e
3 changed files with 8 additions and 45 deletions
|
@ -382,13 +382,6 @@ impl ReflowGoal {
|
|||
}
|
||||
}
|
||||
|
||||
/// Information needed for a reflow.
|
||||
#[derive(Debug)]
|
||||
pub struct Reflow {
|
||||
/// A clipping rectangle for the page, an enlarged rectangle containing the viewport.
|
||||
pub page_clip_rect: Rect<Au>,
|
||||
}
|
||||
|
||||
#[derive(Clone, Debug, MallocSizeOf)]
|
||||
pub struct IFrameSize {
|
||||
pub browsing_context_id: BrowsingContextId,
|
||||
|
@ -416,8 +409,6 @@ pub struct ReflowResult {
|
|||
/// Information needed for a script-initiated reflow.
|
||||
#[derive(Debug)]
|
||||
pub struct ReflowRequest {
|
||||
/// General reflow data.
|
||||
pub reflow_info: Reflow,
|
||||
/// The document node.
|
||||
pub document: TrustedNodeAddress,
|
||||
/// The dirty root from which to restyle.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue