Bug 1215089 - P5: Remove dead code. r=mattwoodrow
The method isn't called and the comments referring to it are no longer applicable. MozReview-Commit-ID: 2FFWhj7wzht
This commit is contained in:
@@ -607,7 +607,7 @@ PlanarYCbCrImage::GetOffscreenFormat()
|
||||
}
|
||||
|
||||
bool
|
||||
PlanarYCbCrImage::AdoptData(const Data &aData)
|
||||
PlanarYCbCrImage::AdoptData(const Data& aData)
|
||||
{
|
||||
mData = aData;
|
||||
mSize = aData.mPicSize;
|
||||
@@ -615,18 +615,6 @@ PlanarYCbCrImage::AdoptData(const Data &aData)
|
||||
return true;
|
||||
}
|
||||
|
||||
uint8_t*
|
||||
RecyclingPlanarYCbCrImage::AllocateAndGetNewBuffer(uint32_t aSize)
|
||||
{
|
||||
// get new buffer
|
||||
mBuffer = AllocateBuffer(aSize);
|
||||
if (mBuffer) {
|
||||
// update buffer size
|
||||
mBufferSize = aSize;
|
||||
}
|
||||
return mBuffer.get();
|
||||
}
|
||||
|
||||
already_AddRefed<gfx::SourceSurface>
|
||||
PlanarYCbCrImage::GetAsSourceSurface()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user