From c8d931afa8cec7c968db66a3874a747ba1972b98 Mon Sep 17 00:00:00 2001 From: Kyle Huey Date: Mon, 11 Jun 2012 13:04:34 -0700 Subject: [PATCH] Bug 763573: Don't export PrimitiveConversions.h. r=bz --- dom/bindings/Codegen.py | 2 +- dom/bindings/Makefile.in | 1 - dom/bindings/PrimitiveConversions.h | 2 ++ dom/bindings/test/Makefile.in | 1 + 4 files changed, 4 insertions(+), 2 deletions(-) diff --git a/dom/bindings/Codegen.py b/dom/bindings/Codegen.py index 6a898583bc3a..56e185352c92 100644 --- a/dom/bindings/Codegen.py +++ b/dom/bindings/Codegen.py @@ -3461,7 +3461,7 @@ class CGBindingRoot(CGThing): ['mozilla/dom/BindingUtils.h', 'mozilla/dom/DOMJSClass.h'], ['mozilla/dom/Nullable.h', - 'mozilla/dom/PrimitiveConversions.h', + 'PrimitiveConversions.h', 'XPCQuickStubs.h', 'nsDOMQS.h', 'AccessCheck.h', diff --git a/dom/bindings/Makefile.in b/dom/bindings/Makefile.in index 2d386d3deef9..052c6e6b6192 100644 --- a/dom/bindings/Makefile.in +++ b/dom/bindings/Makefile.in @@ -64,7 +64,6 @@ EXPORTS_$(binding_include_path) = \ PrototypeList.h \ RegisterBindings.h \ Nullable.h \ - PrimitiveConversions.h \ TypedArray.h \ BindingUtils.h \ $(exported_binding_headers) \ diff --git a/dom/bindings/PrimitiveConversions.h b/dom/bindings/PrimitiveConversions.h index c05cb9d9ded9..4e944563062c 100644 --- a/dom/bindings/PrimitiveConversions.h +++ b/dom/bindings/PrimitiveConversions.h @@ -11,6 +11,8 @@ #ifndef mozilla_dom_PrimitiveConversions_h #define mozilla_dom_PrimitiveConversions_h +#include "xpcpublic.h" + namespace mozilla { namespace dom { diff --git a/dom/bindings/test/Makefile.in b/dom/bindings/test/Makefile.in index 9a1325c1011f..76e64233a658 100644 --- a/dom/bindings/test/Makefile.in +++ b/dom/bindings/test/Makefile.in @@ -31,6 +31,7 @@ CPPSRCS := $(subst .webidl,Binding.cpp,$(test_webidl_files)) LOCAL_INCLUDES += \ -I$(topsrcdir)/js/xpconnect/src \ -I$(topsrcdir)/js/xpconnect/wrappers \ + -I$(topsrcdir)/dom/bindings \ $(NULL) include $(topsrcdir)/config/rules.mk