aboutsummaryrefslogtreecommitdiffstats
path: root/components/style/binding_tools/regen.py
diff options
context:
space:
mode:
authorBobby Holley <bobbyholley@gmail.com>2016-10-10 19:42:01 -0700
committerManish Goregaokar <manishsmail@gmail.com>2016-10-11 14:05:29 +0530
commita5aed43cd865a59b721bb13d97aa5baac682b4f1 (patch)
tree100f509b50fa307701e7a6b06bab2578a3f5a10c /components/style/binding_tools/regen.py
parent4398512c1226319379e91a9087ced3a83db99e7c (diff)
downloadservo-a5aed43cd865a59b721bb13d97aa5baac682b4f1.tar.gz
servo-a5aed43cd865a59b721bb13d97aa5baac682b4f1.zip
Fix bindings.rs warnings.
MozReview-Commit-ID: G03MWTQMkWt
Diffstat (limited to 'components/style/binding_tools/regen.py')
-rwxr-xr-xcomponents/style/binding_tools/regen.py12
1 files changed, 5 insertions, 7 deletions
diff --git a/components/style/binding_tools/regen.py b/components/style/binding_tools/regen.py
index fac8662e83b..be904f10a4d 100755
--- a/components/style/binding_tools/regen.py
+++ b/components/style/binding_tools/regen.py
@@ -195,9 +195,7 @@ COMPILATION_TARGETS = {
# Generation of the ffi bindings.
"bindings": {
"target_dir": "../gecko_bindings",
- "raw_lines": [
- "use heapsize::HeapSizeOf;",
- ],
+ "raw_lines": [],
"flags": [
"--ignore-methods",
],
@@ -224,13 +222,13 @@ COMPILATION_TARGETS = {
"nsStyleImageLayers_Layer", "nsStyleImageLayers_LayerType",
"nsStyleUnit", "nsStyleUnion", "nsStyleCoord_CalcValue",
"nsStyleCoord_Calc", "nsRestyleHint", "ServoElementSnapshot",
- "nsChangeHint", "SheetParsingMode", "nsMainThreadPtrHandle",
- "nsMainThreadPtrHolder", "nscolor", "nsFont", "FontFamilyList",
+ "nsChangeHint", "SheetParsingMode",
+ "nsMainThreadPtrHolder", "nsFont", "FontFamilyList",
"FontFamilyType", "nsIAtom", "nsStyleContext", "StyleClipPath",
"StyleBasicShapeType", "StyleBasicShape", "nsCSSShadowArray",
- "nsINode", "nsIDocument", "nsIPrincipal", "nsIURI",
+ "nsIPrincipal", "nsIURI",
"RawGeckoNode", "RawGeckoElement", "RawGeckoDocument",
- "ServoNodeData", "nsString"
+ "nsString"
],
"servo_nullable_arc_types": [
"ServoComputedValues", "RawServoStyleSheet",