Bug 900012 - Make async-video double buffered. r=mattwoodrow

This commit is contained in:
Nicolas Silva 2013-08-02 00:14:55 +02:00
parent 98243213d9
commit 5876362bbe

View File

@ -123,7 +123,7 @@ ImageContainer::ImageContainer(int flag)
if (flag == ENABLE_ASYNC && ImageBridgeChild::IsCreated()) {
// the refcount of this ImageClient is 1. we don't use a RefPtr here because the refcount
// of this class must be done on the ImageBridge thread.
mImageClient = ImageBridgeChild::GetSingleton()->CreateImageClient(BUFFER_IMAGE_SINGLE).drop();
mImageClient = ImageBridgeChild::GetSingleton()->CreateImageClient(BUFFER_IMAGE_BUFFERED).drop();
MOZ_ASSERT(mImageClient);
}
}