Bug 915100. Make sure to actually include the headers we need in UnionTypes.h. r=khuey
authorBoris Zbarsky <bzbarsky@mit.edu>
Wed, 11 Sep 2013 23:19:07 -0400
changeset 146745 a1509b9ca551a625ff2abbbb1f5b60c497aa9350
parent 146744 be78e31dbc2042ca2802e227a5e49fa8e3630d02
child 146746 3aa2a28398e297fcc446119d603263a89500a135
push id25270
push useremorley@mozilla.com
push dateThu, 12 Sep 2013 11:04:52 +0000
treeherdermozilla-central@b83f6d80af5f [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerskhuey
bugs915100
milestone26.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 915100. Make sure to actually include the headers we need in UnionTypes.h. r=khuey
dom/bindings/Codegen.py
--- a/dom/bindings/Codegen.py
+++ b/dom/bindings/Codegen.py
@@ -10536,16 +10536,17 @@ struct PrototypeTraits;
 
         (includes, implincludes,
          declarations, unions) = UnionTypes(config.getDescriptors(),
                                             config.getDictionaries(),
                                             config.getCallbacks(),
                                             config)
         includes.add("mozilla/dom/OwningNonNull.h")
         includes.add("mozilla/dom/UnionMember.h")
+        includes.add("mozilla/dom/BindingDeclarations.h")
         implincludes.add("mozilla/dom/PrimitiveConversions.h")
 
         # Wrap all of that in our namespaces.
         curr = CGNamespace.build(['mozilla', 'dom'], unions)
 
         curr = CGWrapper(curr, post='\n')
 
         namespaces = []