nsPresContext::AllocateFromShell(size_t aSize, void** aResult) { if (mShell) return mShell->AllocateFrame(aSize, aResult); return NS_OK; }
void* AllocateFromShell(size_t aSize) { if (mShell) return mShell->AllocateFrame(aSize); return nsnull; }
nsPresContext::AllocateFromShell(size_t aSize, void** aResult){  if (mShell)    return mShell->AllocateFrame(aSize, aResult);  return NS_OK;}