PMediaParent* AllocPMediaParent() { Parent<PMediaParent>* obj = new Parent<PMediaParent>(); obj->AddRef(); return obj; }