mirror of
https://github.com/servo/servo.git
synced 2025-07-22 23:03:42 +01:00
chore: remove unnecessary webrender_document
in script (#36648)
remove `webrender_document` in script and constellation's pipeline Testing: `webrender_document` in script crate is not being referenced anywhere in the Servo, should be safe to remove. Fixes: https://github.com/servo/servo/issues/36647 Signed-off-by: Jason Tsai <git@pews.dev>
This commit is contained in:
parent
7b0cf47dbe
commit
0eec22303b
5 changed files with 2 additions and 29 deletions
|
@ -47,8 +47,8 @@ use style_traits::{CSSPixel, SpeculativePainter};
|
|||
use stylo_atoms::Atom;
|
||||
#[cfg(feature = "webgpu")]
|
||||
use webgpu_traits::WebGPUMsg;
|
||||
use webrender_api::ImageKey;
|
||||
use webrender_api::units::DevicePixel;
|
||||
use webrender_api::{DocumentId, ImageKey};
|
||||
|
||||
/// The initial data required to create a new layout attached to an existing script thread.
|
||||
#[derive(Debug, Deserialize, Serialize)]
|
||||
|
@ -318,8 +318,6 @@ pub struct InitialScriptState {
|
|||
pub webgl_chan: Option<WebGLPipeline>,
|
||||
/// The XR device registry
|
||||
pub webxr_registry: Option<webxr_api::Registry>,
|
||||
/// The Webrender document ID associated with this thread.
|
||||
pub webrender_document: DocumentId,
|
||||
/// Access to the compositor across a process boundary.
|
||||
pub compositor_api: CrossProcessCompositorApi,
|
||||
/// Application window's GL Context for Media player
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue