mirror of
https://github.com/servo/servo.git
synced 2025-06-16 20:34:30 +00:00
Generate bindings for HTMLCanvasElement.
This commit is contained in:
parent
0f957c9e22
commit
b44d4346df
11 changed files with 105 additions and 5 deletions
|
@ -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, ..51]);
|
||||
let protoArray = @mut ([0 as *JSObject, ..52]);
|
||||
assert!(protoArray.len() == PrototypeList::id::_ID_Count as uint);
|
||||
unsafe {
|
||||
//XXXjdm we should be storing the box pointer instead of the inner
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue