Remove the backend flag to TextureClient::CreateForDrawing. (bug 1183910 part 9, r=mattwoodrow)

This commit is contained in:
David Anderson
2015-08-06 02:41:07 -07:00
parent 0912270112
commit 062db27417
12 changed files with 46 additions and 33 deletions

View File

@@ -216,7 +216,7 @@ ImageClientSingle::UpdateImage(ImageContainer* aContainer, uint32_t aContentFlag
RefPtr<gfx::SourceSurface> surface = image->GetAsSourceSurface();
MOZ_ASSERT(surface);
texture = CreateTextureClientForDrawing(surface->GetFormat(), image->GetSize(),
gfx::BackendType::NONE, mTextureFlags);
BackendSelector::Content, mTextureFlags);
if (!texture) {
return false;
}