ShadowContainerLayerOGL::~ShadowContainerLayerOGL() { // We don't Destroy() on destruction here because this destructor // can be called after remote content has crashed, and it may not be // safe to free the IPC resources of our children. Those resources // are automatically cleaned up by IPDL-generated code. // // In the common case of normal shutdown, either // LayerManagerOGL::Destroy(), a parent // *ContainerLayerOGL::Destroy(), or Disconnect() will trigger // cleanup of our resources. while (mFirstChild) { ContainerRemoveChild(this, mFirstChild); } }
void ContainerLayerD3D10::RemoveChild(Layer *aChild) { ContainerRemoveChild(this, aChild); }
void ShadowContainerLayerOGL::RemoveChild(Layer *aChild) { ContainerRemoveChild(this, aChild); }