diff options
Diffstat (limited to 'components/gfx/paint_context.rs')
-rw-r--r-- | components/gfx/paint_context.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/components/gfx/paint_context.rs b/components/gfx/paint_context.rs index e020336429d..9fded4e8651 100644 --- a/components/gfx/paint_context.rs +++ b/components/gfx/paint_context.rs @@ -1774,6 +1774,7 @@ trait ScaledFontExtensionMethods { } impl ScaledFontExtensionMethods for ScaledFont { + #[allow(unsafe_code)] fn draw_text(&self, draw_target: &DrawTarget, run: &TextRun, |