diff options
author | Anthony Ramine <nox@nox.paris> | 2020-03-27 17:37:56 +0100 |
---|---|---|
committer | Anthony Ramine <nox@nox.paris> | 2020-03-28 15:37:57 +0100 |
commit | dba6a635e5df980b2837495aae59711739c23716 (patch) | |
tree | 9e91fe80e491a0a0cc29800b4dd71d23cc1abcb9 /components/script/dom/webglrenderingcontext.rs | |
parent | 60ca98b753570ce4ce56bc92ddbdd3c0c0e5800d (diff) | |
download | servo-dba6a635e5df980b2837495aae59711739c23716.tar.gz servo-dba6a635e5df980b2837495aae59711739c23716.zip |
Give a lifetime parameter to LayoutDom
Diffstat (limited to 'components/script/dom/webglrenderingcontext.rs')
-rw-r--r-- | components/script/dom/webglrenderingcontext.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/dom/webglrenderingcontext.rs b/components/script/dom/webglrenderingcontext.rs index dab9cf6dcf1..45d2f145e41 100644 --- a/components/script/dom/webglrenderingcontext.rs +++ b/components/script/dom/webglrenderingcontext.rs @@ -4450,7 +4450,7 @@ pub trait LayoutCanvasWebGLRenderingContextHelpers { unsafe fn canvas_data_source(&self) -> HTMLCanvasDataSource; } -impl LayoutCanvasWebGLRenderingContextHelpers for LayoutDom<WebGLRenderingContext> { +impl LayoutCanvasWebGLRenderingContextHelpers for LayoutDom<'_, WebGLRenderingContext> { #[allow(unsafe_code)] unsafe fn canvas_data_source(&self) -> HTMLCanvasDataSource { (*self.unsafe_get()).layout_handle() |