Bug 900133 - Make sure we always call OnTransaction when we might recreate textures. r=nical

This commit is contained in:
Matt Woodrow 2013-08-02 22:59:56 -04:00
parent 75e8427d57
commit b6f49d0ad5
2 changed files with 4 additions and 0 deletions

View File

@ -112,6 +112,7 @@ ClientCanvasLayer::RenderLayer()
ClientManager()->Hold(this);
mCanvasClient->Updated();
mCanvasClient->OnTransaction();
}
already_AddRefed<CanvasLayer>

View File

@ -145,6 +145,9 @@ ClientImageLayer::RenderLayer()
return;
}
}
if (mImageClient) {
mImageClient->OnTransaction();
}
ClientManager()->Hold(this);
}