Move FrameTreeId to compositing.

This commit is contained in:
Ms2ger 2017-01-04 12:17:50 +01:00
parent 0b5dc7ed34
commit 7ef81c3d7d
2 changed files with 10 additions and 10 deletions

View file

@ -88,15 +88,6 @@ impl Epoch {
}
}
#[derive(PartialEq, Eq, Debug, Copy, Clone)]
pub struct FrameTreeId(pub u32);
impl FrameTreeId {
pub fn next(&mut self) {
self.0 += 1;
}
}
/// A unique ID for every stacking context.
#[derive(Clone, Copy, Debug, Deserialize, Eq, Hash, HeapSizeOf, PartialEq, Serialize)]
pub struct StackingContextId(