mirror of
https://github.com/servo/servo.git
synced 2025-07-24 07:40:27 +01:00
Remove the unused LoadOrigin implementation from WorkerScriptLoadOrigin.
This commit is contained in:
parent
c3c6df69b4
commit
cecd60b35c
1 changed files with 1 additions and 13 deletions
|
@ -53,7 +53,7 @@ use ipc_channel::ipc::{IpcReceiver, IpcSender};
|
|||
use libc::c_void;
|
||||
use msg::constellation_msg::{FrameId, FrameType, Key, KeyModifiers, KeyState};
|
||||
use msg::constellation_msg::{PipelineId, PipelineNamespaceId, ReferrerPolicy, TraversalDirection};
|
||||
use net_traits::{LoadOrigin, ResourceThreads};
|
||||
use net_traits::ResourceThreads;
|
||||
use net_traits::bluetooth_thread::BluetoothMethodMsg;
|
||||
use net_traits::image::base::Image;
|
||||
use net_traits::image_cache_thread::ImageCacheThread;
|
||||
|
@ -722,15 +722,3 @@ pub struct WorkerScriptLoadOrigin {
|
|||
/// the pipeline id of the entity requesting the load
|
||||
pub pipeline_id: Option<PipelineId>
|
||||
}
|
||||
|
||||
impl LoadOrigin for WorkerScriptLoadOrigin {
|
||||
fn referrer_url(&self) -> Option<Url> {
|
||||
self.referrer_url.clone()
|
||||
}
|
||||
fn referrer_policy(&self) -> Option<ReferrerPolicy> {
|
||||
self.referrer_policy.clone()
|
||||
}
|
||||
fn pipeline_id(&self) -> Option<PipelineId> {
|
||||
self.pipeline_id.clone()
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue