Skip to content

Commit

Permalink
auto merge of #760 : jdm/servo/protolist, r=kmcallister
Browse files Browse the repository at this point in the history
  • Loading branch information
bors-servo committed Aug 22, 2013
2 parents 0c50d43 + 1c087ab commit bea1ecd
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/components/script/dom/bindings/utils.rs
Expand Up @@ -624,8 +624,7 @@ pub extern fn ThrowingConstructor(_cx: *JSContext, _argc: uint, _vp: *JSVal) ->
}

pub fn initialize_global(global: *JSObject) {
let protoArray = @mut ([0 as *JSObject, ..53]);
assert!(protoArray.len() == PrototypeList::id::_ID_Count as uint);
let protoArray = @mut ([0 as *JSObject, ..PrototypeList::id::_ID_Count as uint]);
unsafe {
//XXXjdm we should be storing the box pointer instead of the inner
let box = squirrel_away(protoArray);
Expand Down

0 comments on commit bea1ecd

Please sign in to comment.