Ticket #23970: 0004-Bug-23970-Printing-to-a-file-is-broken-with-Linux-co.patch

File 0004-Bug-23970-Printing-to-a-file-is-broken-with-Linux-co.patch, 915 bytes (added by pospeselr, 16 months ago)
  • gfx/2d/ScaledFontFontconfig.cpp

    From 2c20fcf7983d5095ac12c3eb9fa685edad23ca03 Mon Sep 17 00:00:00 2001
    From: Richard Pospesel <richard@torproject.org>
    Date: Mon, 27 Nov 2017 14:49:53 -0800
    Subject: [PATCH 4/5] Bug 23970: Printing to a file is broken with Linux
     content sandboxing enabled
    
    Ported over firefox patch 5e7872cb3b5c (Bug 1364627)
    ---
     gfx/2d/ScaledFontFontconfig.cpp | 1 +
     1 file changed, 1 insertion(+)
    
    diff --git a/gfx/2d/ScaledFontFontconfig.cpp b/gfx/2d/ScaledFontFontconfig.cpp
    index 0695eebbeaa7..68c9a1a42c88 100644
    a b ScaledFontFontconfig::CreateFromInstanceData(const InstanceData& aInstanceData, 
    332332  RefPtr<ScaledFontFontconfig> scaledFont =
    333333    new ScaledFontFontconfig(cairoScaledFont, pattern, aSize);
    334334
     335  cairo_scaled_font_destroy(cairoScaledFont);
    335336  FcPatternDestroy(pattern);
    336337
    337338  return scaledFont.forget();