Bug 1383786 - Rename TextureHost::PushExternalImage into PushDisplayItems. r=sotaro

This commit is contained in:
Nicolas Silva
2017-09-26 15:31:00 +02:00
parent 799ceac449
commit a81725a9b6
11 changed files with 74 additions and 74 deletions

View File

@@ -321,12 +321,12 @@ AsyncImagePipelineManager::ApplyAsyncImages()
if (pipeline->mUseExternalImage) {
MOZ_ASSERT(pipeline->mCurrentTexture->AsWebRenderTextureHost());
Range<const wr::ImageKey> range_keys(&keys[0], keys.Length());
pipeline->mCurrentTexture->PushExternalImage(builder,
wr::ToLayoutRect(rect),
wr::ToLayoutRect(rect),
pipeline->mFilter,
range_keys);
Range<wr::ImageKey> range_keys(&keys[0], keys.Length());
pipeline->mCurrentTexture->PushDisplayItems(builder,
wr::ToLayoutRect(rect),
wr::ToLayoutRect(rect),
pipeline->mFilter,
range_keys);
HoldExternalImage(pipelineId, epoch, pipeline->mCurrentTexture->AsWebRenderTextureHost());
} else {
MOZ_ASSERT(keys.Length() == 1);