aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/script/dom/bindings/utils.rs
diff options
context:
space:
mode:
authorJosh Matthews <josh@joshmatthews.net>2014-03-14 14:46:30 -0400
committerLars Bergstrom <lars@lars.com>2014-03-18 09:31:22 -0500
commit64c0de9fe7dc5555821ca5cb4c13aa2418e91b94 (patch)
treef8bee1d1d3b38572a3e2519542d5548e251e802d /src/components/script/dom/bindings/utils.rs
parentf279abbf9f894641f592fee7f70fa0e29d955dad (diff)
downloadservo-64c0de9fe7dc5555821ca5cb4c13aa2418e91b94.tar.gz
servo-64c0de9fe7dc5555821ca5cb4c13aa2418e91b94.zip
Warning police.
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 a441a297aed..e7385fc1ddd 100644
--- a/src/components/script/dom/bindings/utils.rs
+++ b/src/components/script/dom/bindings/utils.rs
@@ -407,7 +407,7 @@ pub extern fn ThrowingConstructor(_cx: *JSContext, _argc: c_uint, _vp: *mut JSVa
}
pub fn initialize_global(global: *JSObject) {
- let protoArray = ~([0 as *JSObject, ..PrototypeList::id::_ID_Count as uint]);
+ let protoArray = ~([0 as *JSObject, ..PrototypeList::id::IDCount as uint]);
unsafe {
let box_ = squirrel_away_unboxed(protoArray);
JS_SetReservedSlot(global,