This commit is contained in:
Mike Welsh 2019-08-15 14:12:41 -07:00
parent 20ec170552
commit 0ab20e01c1
1 changed files with 1 additions and 5 deletions

View File

@ -54,17 +54,13 @@ impl<'gc> DisplayObject<'gc> for DisplayObjectBase<'gc> {
fn set_clip_depth(&mut self, depth: Depth) {
self.clip_depth = depth;
}
<<<<<<< HEAD
fn box_clone(&self) -> Box<dyn DisplayObject<'gc>> {
=======
fn parent(&self) -> Option<DisplayNode<'gc>> {
self.parent
}
fn set_parent(&mut self, parent: Option<DisplayNode<'gc>>) {
self.parent = parent;
}
fn box_clone(&self) -> Box<DisplayObject<'gc>> {
>>>>>>> core: Add parent to DisplayObjectBase
fn box_clone(&self) -> Box<dyn DisplayObject<'gc>> {
Box::new(self.clone())
}
}