Bug 1353202 - Add nsInterfaceHashtable to opaque types draft
authorBrian Birtles <birtles@gmail.com>
Wed, 24 May 2017 11:14:35 +0900
changeset 583421 bb8d24997a540f61c837d08c0804c6aa9f834a2a
parent 583335 96e18bec9fc8a5ce623c16167c12756bbe190d73
child 583422 47fe4f2c7744406309564eacd62f1acdc8494dee
push id60391
push userbbirtles@mozilla.com
push dateWed, 24 May 2017 02:14:54 +0000
bugs1353202
milestone55.0a1
Bug 1353202 - Add nsInterfaceHashtable to opaque types This is needed since nsLanguageAtomService uses nsInterfaceHashtable and when the bindings are updated we will fail the generated test bindgen_test_layout_nsLanguageAtomService without this. MozReview-Commit-ID: 7aYGvPrf7us
layout/style/ServoBindings.toml
--- a/layout/style/ServoBindings.toml
+++ b/layout/style/ServoBindings.toml
@@ -269,16 +269,17 @@ opaque-types = [
     "SupportsWeakPtr",
     "mozilla::detail::WeakReference",
     "mozilla::WeakPtr",
     "nsWritingIterator_reference", "nsReadingIterator_reference",
     "nsTObserverArray",  # <- Inherits from nsAutoTObserverArray<T, 0>
     "nsTHashtable",  # <- Inheriting from inner typedefs that clang
                      #    doesn't expose properly.
     "nsRefPtrHashtable", "nsDataHashtable", "nsClassHashtable",  # <- Ditto
+    "nsInterfaceHashtable",  # <- Ditto
     "nsIDocument_SelectorCache",  # <- Inherits from nsExpirationTracker<.., 4>
     "nsIPresShell_ScrollAxis",  # <- For some reason the alignment of this is 4
                                 # for clang.
     "nsPIDOMWindow",  # <- Takes the vtable from a template parameter, and we can't
                       #    generate it conditionally.
     "JS::Rooted",
     "mozilla::Maybe",
     "gfxSize",  # <- union { struct { T width; T height; }; T components[2] };