mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-11 04:15:43 +00:00
Bug 900133 - Make sure we always call OnTransaction when we might recreate textures. r=nical
This commit is contained in:
parent
75e8427d57
commit
b6f49d0ad5
@ -112,6 +112,7 @@ ClientCanvasLayer::RenderLayer()
|
||||
|
||||
ClientManager()->Hold(this);
|
||||
mCanvasClient->Updated();
|
||||
mCanvasClient->OnTransaction();
|
||||
}
|
||||
|
||||
already_AddRefed<CanvasLayer>
|
||||
|
@ -145,6 +145,9 @@ ClientImageLayer::RenderLayer()
|
||||
return;
|
||||
}
|
||||
}
|
||||
if (mImageClient) {
|
||||
mImageClient->OnTransaction();
|
||||
}
|
||||
ClientManager()->Hold(this);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user