Bug 867426 - Remove RawString typedef; r=jonco

This commit is contained in:
Terrence Cole
2013-04-30 15:40:48 -07:00
parent 9349f5a40d
commit 0e337e93f7
15 changed files with 36 additions and 38 deletions

View File

@@ -396,7 +396,7 @@ NativeIterator::allocateIterator(JSContext *cx, uint32_t slength, const AutoIdVe
size_t plength = props.length();
NativeIterator *ni = (NativeIterator *)
cx->malloc_(sizeof(NativeIterator)
+ plength * sizeof(RawString)
+ plength * sizeof(JSString *)
+ slength * sizeof(Shape *));
if (!ni)
return NULL;