Bug 682615 - Use fallible new for BasicPlanarYCbCrImage. r=roc
This commit is contained in:
@@ -452,6 +452,11 @@ public:
|
||||
PRUint8 *CopyData(Data& aDest, gfxIntSize& aDestSize,
|
||||
PRUint32& aDestBufferSize, const Data& aData);
|
||||
|
||||
/**
|
||||
* Return a buffer to store image data in.
|
||||
* The default implementation returns memory that can
|
||||
* be freed wit delete[]
|
||||
*/
|
||||
virtual PRUint8* AllocateBuffer(PRUint32 aSize);
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user