зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1299606: Diagnostic, trivial patch. Our messages were not unique. r=me
This commit is contained in:
Родитель
27b6de8e73
Коммит
525b93bdcd
|
@ -883,7 +883,7 @@ TextureClient::InitIPDLActor(CompositableForwarder* aForwarder)
|
||||||
// It's Ok for a texture to move from a ShadowLayerForwarder to another, but
|
// It's Ok for a texture to move from a ShadowLayerForwarder to another, but
|
||||||
// not form a CompositorBridgeChild to another (they use different channels).
|
// not form a CompositorBridgeChild to another (they use different channels).
|
||||||
if (currentTexFwd && currentTexFwd != aForwarder->AsTextureForwarder()) {
|
if (currentTexFwd && currentTexFwd != aForwarder->AsTextureForwarder()) {
|
||||||
gfxCriticalError() << "Attempt to move a texture to a different channel.";
|
gfxCriticalError() << "Attempt to move a texture to a different channel CF.";
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
if (currentFwd && currentFwd->GetCompositorBackendType() != aForwarder->GetCompositorBackendType()) {
|
if (currentFwd && currentFwd->GetCompositorBackendType() != aForwarder->GetCompositorBackendType()) {
|
||||||
|
@ -940,7 +940,7 @@ TextureClient::InitIPDLActor(TextureForwarder* aForwarder, LayersBackend aBacken
|
||||||
}
|
}
|
||||||
|
|
||||||
if (currentTexFwd && currentTexFwd != aForwarder) {
|
if (currentTexFwd && currentTexFwd != aForwarder) {
|
||||||
gfxCriticalError() << "Attempt to move a texture to a different channel.";
|
gfxCriticalError() << "Attempt to move a texture to a different channel TF.";
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
mActor->mTextureForwarder = aForwarder;
|
mActor->mTextureForwarder = aForwarder;
|
||||||
|
|
Загрузка…
Ссылка в новой задаче