Bug 563195: Fix -Wshadow warnings in public JS API headers (those used from layout/style/). r=njn

This commit is contained in:
L. David Baron
2013-02-17 22:56:32 -08:00
parent 6d75726a66
commit b6b42cafaa
19 changed files with 165 additions and 165 deletions

View File

@@ -13,11 +13,11 @@ using namespace js;
void *
TempAllocPolicy::onOutOfMemory(void *p, size_t nbytes)
{
return cx->runtime->onOutOfMemory(p, nbytes, cx);
return cx_->runtime->onOutOfMemory(p, nbytes, cx_);
}
void
TempAllocPolicy::reportAllocOverflow() const
{
js_ReportAllocationOverflow(cx);
js_ReportAllocationOverflow(cx_);
}