From abd529257eb60b2dcb33116529dfd2c791f1ba2d Mon Sep 17 00:00:00 2001 From: JerryShih Date: Thu, 7 Jul 2016 11:43:03 +0800 Subject: [PATCH] Bug 1276062 - update DrawTargetD2D1::Init() log. r=hshih --- gfx/2d/DrawTargetD2D1.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gfx/2d/DrawTargetD2D1.cpp b/gfx/2d/DrawTargetD2D1.cpp index 7a2da3902597..6cc38648266b 100644 --- a/gfx/2d/DrawTargetD2D1.cpp +++ b/gfx/2d/DrawTargetD2D1.cpp @@ -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; }