mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00:00
Fix warnings after latest rust upgrade (#33043)
This fixes various unused code warnings after the recent rust upgrade. Some of the dead code is maintained, as it is quite likely that it will be used in future changes. Signed-off-by: Martin Robinson <mrobinson@igalia.com>
This commit is contained in:
parent
380348e4df
commit
6be99241c6
11 changed files with 19 additions and 34 deletions
|
@ -21,7 +21,6 @@ use canvas_traits::webgl::WebGLPipeline;
|
|||
use compositing_traits::{CompositionPipeline, CompositorMsg, CompositorProxy};
|
||||
use crossbeam_channel::{unbounded, Sender};
|
||||
use devtools_traits::{DevtoolsControlMsg, ScriptToDevtoolsControlMsg};
|
||||
use embedder_traits::EventLoopWaker;
|
||||
use fonts::FontCacheThread;
|
||||
use ipc_channel::ipc::{self, IpcReceiver, IpcSender};
|
||||
use ipc_channel::router::ROUTER;
|
||||
|
@ -202,9 +201,6 @@ pub struct InitialPipelineState {
|
|||
/// Application window's GL Context for Media player
|
||||
pub player_context: WindowGLContext,
|
||||
|
||||
/// Mechanism to force the compositor to process events.
|
||||
pub event_loop_waker: Option<Box<dyn EventLoopWaker>>,
|
||||
|
||||
/// User agent string to report in network requests.
|
||||
pub user_agent: Cow<'static, str>,
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue