зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1576034 - Fix bare-trait-objects warnings in direct-composition. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D43204 --HG-- extra : moz-landing-system : lando
This commit is contained in:
Родитель
d4a7e4425c
Коммит
6f74a5cc9b
|
@ -28,7 +28,7 @@ pub struct DirectComposition {
|
|||
dxgi_factory: ComPtr<IDXGIFactory2>,
|
||||
|
||||
egl: Rc<egl::SharedEglThings>,
|
||||
pub gleam: Rc<gleam::gl::Gl>,
|
||||
pub gleam: Rc<dyn gleam::gl::Gl>,
|
||||
|
||||
composition_device: ComPtr<IDCompositionDevice>,
|
||||
root_visual: ComPtr<IDCompositionVisual>,
|
||||
|
@ -150,7 +150,7 @@ pub struct AngleVisual {
|
|||
visual: ComPtr<IDCompositionVisual>,
|
||||
swap_chain: ComPtr<winapi::shared::dxgi1_2::IDXGISwapChain1>,
|
||||
egl: egl::PerVisualEglThings,
|
||||
pub gleam: Rc<gleam::gl::Gl>,
|
||||
pub gleam: Rc<dyn gleam::gl::Gl>,
|
||||
}
|
||||
|
||||
impl AngleVisual {
|
||||
|
|
|
@ -194,7 +194,7 @@ struct Notifier {
|
|||
}
|
||||
|
||||
impl api::RenderNotifier for Notifier {
|
||||
fn clone(&self) -> Box<api::RenderNotifier> {
|
||||
fn clone(&self) -> Box<dyn api::RenderNotifier> {
|
||||
Box::new(Clone::clone(self))
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче