mozilla-gcc43-templates_instantiation.patch
branchfirefox17
changeset 577 96e70217f18a
equal deleted inserted replaced
576:862df7280e53 577:96e70217f18a
       
     1 # HG changeset patch
       
     2 # Parent 2e78665a1ab70f4dc3884965428bda14da684ef6
       
     3 bmo#732340 - explicitly instantiate templates
       
     4 
       
     5 diff --git a/gfx/harfbuzz/src/hb-ot-layout.cc b/gfx/harfbuzz/src/hb-ot-layout.cc
       
     6 --- a/gfx/harfbuzz/src/hb-ot-layout.cc
       
     7 +++ b/gfx/harfbuzz/src/hb-ot-layout.cc
       
     8 @@ -479,8 +479,12 @@ hb_ot_layout_position_lookup (hb_font_t 
       
     9    return hb_ot_layout_from_face (font->face)->gpos->position_lookup (&c, lookup_index);
       
    10  }
       
    11  
       
    12  void
       
    13  hb_ot_layout_position_finish (hb_font_t *font, hb_buffer_t *buffer, hb_bool_t zero_width_attached_marks)
       
    14  {
       
    15    GPOS::position_finish (font, buffer, zero_width_attached_marks);
       
    16  }
       
    17 +
       
    18 +template int SortedArrayOf<Record<LangSys> >::search<unsigned int>(unsigned int const &) const;
       
    19 +template int SortedArrayOf<Record<Script> >::search<unsigned int>(unsigned int const &) const;
       
    20 +template int SortedArrayOf<IntType<unsigned short> >::search<unsigned int>(unsigned int const &) const;