Bug 563195: Fix -Wshadow warnings in public JS API headers (those used from layout/style/). r=njn
This commit is contained in:
@@ -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_);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user