aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/script/dom/bindings/utils.rs
diff options
context:
space:
mode:
authorJosh Matthews <josh@joshmatthews.net>2013-08-06 16:08:38 -0400
committerJosh Matthews <josh@joshmatthews.net>2013-08-06 19:03:09 -0400
commit65a33f60e592dc3043379d95f8c3314e5bee74fa (patch)
tree7e6527fc3754b5b57e1c4b1fd4bc71759689e272 /src/components/script/dom/bindings/utils.rs
parent08ed6d318e0ae79e3994b00a6e09cf3f2f69bd21 (diff)
downloadservo-65a33f60e592dc3043379d95f8c3314e5bee74fa.tar.gz
servo-65a33f60e592dc3043379d95f8c3314e5bee74fa.zip
Generate bindings for HTMLDivElement, and pass abstract type to methods that need access to the opaque wrappers.
Diffstat (limited to 'src/components/script/dom/bindings/utils.rs')
-rw-r--r--src/components/script/dom/bindings/utils.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/script/dom/bindings/utils.rs b/src/components/script/dom/bindings/utils.rs
index cc1b09eb081..1fd07d415fc 100644
--- a/src/components/script/dom/bindings/utils.rs
+++ b/src/components/script/dom/bindings/utils.rs
@@ -617,7 +617,7 @@ pub extern fn ThrowingConstructor(_cx: *JSContext, _argc: uint, _vp: *JSVal) ->
}
pub fn initialize_global(global: *JSObject) {
- let protoArray = @mut ([0 as *JSObject, ..33]); //XXXjdm PrototyepList::id::_ID_Count
+ let protoArray = @mut ([0 as *JSObject, ..34]); //XXXjdm PrototyepList::id::_ID_Count
unsafe {
//XXXjdm we should be storing the box pointer instead of the inner
let box = squirrel_away(protoArray);