Bug 1143575. Remove unused Image::IsSentToCompositor tracking. r=nical

This commit is contained in:
Robert O'Callahan 2015-03-20 16:13:46 +13:00
parent a40be7876e
commit 0f701e6020

View File

@ -145,9 +145,6 @@ public:
int32_t GetSerial() { return mSerial; }
void MarkSent() { mSent = true; }
bool IsSentToCompositor() { return mSent; }
virtual already_AddRefed<gfx::SourceSurface> GetAsSourceSurface() = 0;
virtual GrallocImage* AsGrallocImage()
@ -169,8 +166,7 @@ protected:
Image(void* aImplData, ImageFormat aFormat) :
mImplData(aImplData),
mSerial(++sSerialCounter),
mFormat(aFormat),
mSent(false)
mFormat(aFormat)
{}
// Protected destructor, to discourage deletion outside of Release():