- fix building with gcc 10
[packages/seamonkey.git] / mozilla-1389436.patch
1
2 # HG changeset patch
3 # User Mike Hommey <mh+mozilla@glandium.org>
4 # Date 1502455819 -32400
5 # Node ID 97dae871389b7f22a7096a020781b07a5a61de58
6 # Parent  c73f64ef71d2d87f36008f5ff661f4050692bd06
7 Bug 1389436 - Explicitly instantiate gfxFont::GetShapedWord<uint8_t> for its use in gfxTextRun.cpp. r=jfkthame
8
9 diff --git a/mozilla/gfx/thebes/gfxFont.cpp b/mozilla/gfx/thebes/gfxFont.cpp
10 index d0b747f..8d3dd8b 100644
11 --- a/mozilla/gfx/thebes/gfxFont.cpp
12 +++ b/mozilla/gfx/thebes/gfxFont.cpp
13 @@ -2614,6 +2614,18 @@ gfxFont::GetShapedWord(DrawTarget *aDrawTarget,
14      return sw;
15  }
16  
17 +template gfxShapedWord*
18 +gfxFont::GetShapedWord(DrawTarget *aDrawTarget,
19 +                       const uint8_t *aText,
20 +                       uint32_t    aLength,
21 +                       uint32_t    aHash,
22 +                       Script      aRunScript,
23 +                       bool        aVertical,
24 +                       int32_t     aAppUnitsPerDevUnit,
25 +                       uint32_t    aFlags,
26 +                       gfxTextPerfMetrics *aTextPerf);
27 +
28 +
29  bool
30  gfxFont::CacheHashEntry::KeyEquals(const KeyTypePointer aKey) const
31  {
This page took 0.057818 seconds and 3 git commands to generate.