Moved WorkerId type to devtools_traits

This commit is contained in:
Florian Strübe 2015-12-06 23:32:45 +01:00
parent 95e6b1d101
commit b81f712ce1
9 changed files with 17 additions and 16 deletions

View file

@ -450,9 +450,6 @@ pub enum NavigationDirection {
#[derive(Clone, PartialEq, Eq, Copy, Hash, Debug, Deserialize, Serialize)]
pub struct FrameId(pub u32);
#[derive(Clone, PartialEq, Eq, Copy, Hash, Debug, Deserialize, Serialize, HeapSizeOf)]
pub struct WorkerId(pub u32);
/// Each pipeline ID needs to be unique. However, it also needs to be possible to
/// generate the pipeline ID from an iframe element (this simplifies a lot of other
/// code that makes use of pipeline IDs).