From bff5ffc48f5c13bd42e188e7b092ec96b0c6208a Mon Sep 17 00:00:00 2001 From: Boris Zbarsky Date: Sun, 20 Nov 2011 11:09:25 +1300 Subject: [PATCH] Fix logging message to reflect reality. Followup to bug 703197 --- layout/base/nsDocumentViewer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layout/base/nsDocumentViewer.cpp b/layout/base/nsDocumentViewer.cpp index 932f3250870..aefa5173c76 100644 --- a/layout/base/nsDocumentViewer.cpp +++ b/layout/base/nsDocumentViewer.cpp @@ -3594,7 +3594,7 @@ DocumentViewerImpl::Print(nsIPrintSettings* aPrintSettings, } if (!mDocument || !mDeviceContext) { - PR_PL(("Can't Print without pres shell, document etc")); + PR_PL(("Can't Print without a document and a device context")); return NS_ERROR_FAILURE; }