Backed out changeset 0c030f97a04f (bug 1144366) for being on top of patches being backed out
CLOSED TREE
This commit is contained in:
@@ -10,14 +10,14 @@
|
||||
|
||||
using namespace js;
|
||||
|
||||
void*
|
||||
TempAllocPolicy::onOutOfMemory(void* p, size_t nbytes)
|
||||
void *
|
||||
TempAllocPolicy::onOutOfMemory(void *p, size_t nbytes)
|
||||
{
|
||||
return static_cast<ExclusiveContext*>(cx_)->onOutOfMemory(p, nbytes);
|
||||
return static_cast<ExclusiveContext *>(cx_)->onOutOfMemory(p, nbytes);
|
||||
}
|
||||
|
||||
void
|
||||
TempAllocPolicy::reportAllocOverflow() const
|
||||
{
|
||||
ReportAllocationOverflow(static_cast<ExclusiveContext*>(cx_));
|
||||
ReportAllocationOverflow(static_cast<ExclusiveContext *>(cx_));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user