aboutsummaryrefslogtreecommitdiffstats
path: root/components/style/binding_tools/regen.py
diff options
context:
space:
mode:
authorbors-servo <lbergstrom+bors@mozilla.com>2016-10-21 15:50:48 -0500
committerGitHub <noreply@github.com>2016-10-21 15:50:48 -0500
commit9cbac40f618a5d87bd883e81a70e233e0ea3a87f (patch)
tree5f41f67f73ec257acb29d5993e6b3c695f7f3d50 /components/style/binding_tools/regen.py
parent6d29bf3f800e45e2907dea6cefa05e90d3a37285 (diff)
parentadf0fe9b9a2e95634874e83d8334e45440f3fa9b (diff)
downloadservo-9cbac40f618a5d87bd883e81a70e233e0ea3a87f.tar.gz
servo-9cbac40f618a5d87bd883e81a70e233e0ea3a87f.zip
Auto merge of #13863 - bholley:shuffle_data_structures, r=emilio
stylo: Rearrange some data structures in preparation for the new incremental restyle algorithm <!-- Reviewable:start --> This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/13863) <!-- Reviewable:end -->
Diffstat (limited to 'components/style/binding_tools/regen.py')
-rwxr-xr-xcomponents/style/binding_tools/regen.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/components/style/binding_tools/regen.py b/components/style/binding_tools/regen.py
index 48fe2fe23fc..822f6766419 100755
--- a/components/style/binding_tools/regen.py
+++ b/components/style/binding_tools/regen.py
@@ -66,8 +66,8 @@ COMPILATION_TARGETS = {
}
},
"raw_lines": [
- # We can get rid of this when the bindings move into the style crate.
- "pub enum OpaqueStyleData {}",
+ "use atomic_refcell::AtomicRefCell;",
+ "use data::NodeData;",
"pub use nsstring::nsStringRepr as nsString;"
],
"blacklist_types": ["nsString"],
@@ -229,7 +229,7 @@ COMPILATION_TARGETS = {
}, {
"generic": False,
"gecko": "ServoNodeData",
- "servo": "OpaqueStyleData"
+ "servo": "AtomicRefCell<NodeData>",
}
],
},