Bug 951186 - Propagate the current compositor in ContentHostBase::UseTextureHost. r=nical

This commit is contained in:
Markus Stange 2013-12-17 17:11:14 +01:00
parent aff7a5da26
commit 8ef9116036

View File

@ -242,9 +242,11 @@ ContentHostBase::UseTextureHost(TextureHost* aTexture)
if (aTexture->GetFlags() & TEXTURE_ON_WHITE) {
mTextureHost = nullptr;
mTextureHostOnWhite = aTexture;
mTextureHostOnWhite->SetCompositor(GetCompositor());
} else {
mTextureHostOnWhite = nullptr;
mTextureHost = aTexture;
mTextureHost->SetCompositor(GetCompositor());
}
}