Bug 1276062 - update DrawTargetD2D1::Init() log. r=hshih

This commit is contained in:
JerryShih 2016-07-07 11:43:03 +08:00
Родитель 13e1939d07
Коммит abd529257e
1 изменённых файлов: 2 добавлений и 2 удалений

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

@ -944,7 +944,7 @@ DrawTargetD2D1::Init(ID3D11Texture2D* aTexture, SurfaceFormat aFormat)
ID2D1Device* device = Factory::GetD2D1Device();
if (!device) {
gfxCriticalNote << "[D2D1.1] Failed to obtain a device for DrawTargetD2D1::Init().";
gfxCriticalNote << "[D2D1.1] Failed to obtain a device for DrawTargetD2D1::Init(ID3D11Texture2D*, SurfaceFormat).";
return false;
}
@ -1009,7 +1009,7 @@ DrawTargetD2D1::Init(const IntSize &aSize, SurfaceFormat aFormat)
ID2D1Device* device = Factory::GetD2D1Device();
if (!device) {
gfxCriticalNote << "[D2D1.1] Failed to obtain a device for DrawTargetD2D1::Init().";
gfxCriticalNote << "[D2D1.1] Failed to obtain a device for DrawTargetD2D1::Init(IntSize, SurfaceFormat).";
return false;
}