Bug 1299606: Diagnostic, trivial patch. Our messages were not unique. r=me

This commit is contained in:
Milan Sreckovic 2016-09-02 11:34:45 -04:00
Родитель 27b6de8e73
Коммит 525b93bdcd
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -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;