forked from mirrors/gecko-dev
servo: Merge #599 - Bump protoArray size for WindowProxy (from kmcallister:proto-array); r=jdm
Fixes #596 @jdm r? Source-Repo: https://github.com/servo/servo Source-Revision: 073f4240aa381b02fa69971861e8fd77bf04f328
This commit is contained in:
parent
08c5a6bba2
commit
184807402e
1 changed files with 1 additions and 1 deletions
|
|
@ -616,7 +616,7 @@ pub extern fn ThrowingConstructor(_cx: *JSContext, _argc: uint, _vp: *JSVal) ->
|
|||
}
|
||||
|
||||
pub fn initialize_global(global: *JSObject) {
|
||||
let protoArray = @mut ([0 as *JSObject, ..21]); //XXXjdm PrototyepList::id::_ID_Count
|
||||
let protoArray = @mut ([0 as *JSObject, ..22]); //XXXjdm PrototyepList::id::_ID_Count
|
||||
unsafe {
|
||||
//XXXjdm we should be storing the box pointer instead of the inner
|
||||
let box = squirrel_away(protoArray);
|
||||
|
|
|
|||
Loading…
Reference in a new issue