aboutsummaryrefslogtreecommitdiffstats
path: root/components/style/binding_tools/regen.py
diff options
context:
space:
mode:
authorXidorn Quan <me@upsuper.org>2016-10-24 20:43:42 +1100
committerXidorn Quan <me@upsuper.org>2016-10-24 20:43:42 +1100
commit109bf2a75591f0f901df1e3be3967385438fe5fe (patch)
tree8d4548c8405c10611dc3a989362767ba2d49dbbf /components/style/binding_tools/regen.py
parentf3973a0d3b2d12c96d0f21624fd0d6d925f34abb (diff)
downloadservo-109bf2a75591f0f901df1e3be3967385438fe5fe.tar.gz
servo-109bf2a75591f0f901df1e3be3967385438fe5fe.zip
Move RawGecko{Node,Element,Document} to bindings
Diffstat (limited to 'components/style/binding_tools/regen.py')
-rwxr-xr-xcomponents/style/binding_tools/regen.py14
1 files changed, 8 insertions, 6 deletions
diff --git a/components/style/binding_tools/regen.py b/components/style/binding_tools/regen.py
index 4f5a76fe161..93a1e8db0ba 100755
--- a/components/style/binding_tools/regen.py
+++ b/components/style/binding_tools/regen.py
@@ -171,9 +171,6 @@ COMPILATION_TARGETS = {
"nsTArrayHeader",
"pair",
"Position",
- "RawGeckoDocument",
- "RawGeckoElement",
- "RawGeckoNode",
"Runnable",
"ServoAttrSnapshot",
"ServoElementSnapshot",
@@ -248,14 +245,17 @@ COMPILATION_TARGETS = {
"files": [
"{}/dist/include/mozilla/ServoBindings.h",
],
+ "whitelist": [
+ "RawGeckoDocument",
+ "RawGeckoElement",
+ "RawGeckoNode",
+ ],
# Types to just use from the `structs` target.
"structs_types": [
+ "Element",
"FontFamilyList",
"FontFamilyType",
- "RawGeckoDocument",
- "RawGeckoElement",
- "RawGeckoNode",
"ServoElementSnapshot",
"SheetParsingMode",
"StyleBasicShape",
@@ -265,6 +265,8 @@ COMPILATION_TARGETS = {
"nsChangeHint",
"nsFont",
"nsIAtom",
+ "nsIDocument",
+ "nsINode",
"nsIPrincipal",
"nsIURI",
"nsMainThreadPtrHolder",