Bug 1145981 - Backout, missing review
This commit is contained in:
@@ -145,12 +145,6 @@ DIBTextureHost::BindTextureSource(CompositableTextureSourceRef& aTexture)
|
||||
void
|
||||
DIBTextureHost::Updated(const nsIntRegion* aRegion)
|
||||
{
|
||||
if (!mCompositor) {
|
||||
// This can happen if we send textures to a compositable that isn't yet
|
||||
// attached to a layer.
|
||||
return;
|
||||
}
|
||||
|
||||
if (!mTextureSource) {
|
||||
mTextureSource = mCompositor->CreateDataTextureSource(mFlags);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user