Fix build bustage for bug 868405, CLOSED TREE

This commit is contained in:
Robert O'Callahan 2013-05-30 17:02:26 +12:00
parent 5ad38a5e7e
commit 74df85b5c7

View File

@ -807,7 +807,8 @@ void MediaPipelineTransmit::PipelineListener::ProcessVideoChunk(
// Send a black image.
nsAutoArrayPtr<uint8_t> pixelData;
pixelData = new (fallible_t()) uint8_t[length];
static const fallible_t fallible = fallible_t();
pixelData = new (fallible) uint8_t[length];
if (pixelData) {
memset(pixelData, 0x10, yPlaneLen);
// Fill Cb/Cr planes