mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-14 02:31:59 +00:00
Fixed a define problem
This commit is contained in:
parent
59e1414dad
commit
d630ea8cb3
@ -1381,6 +1381,7 @@ DocumentViewerImpl::PrintContent(nsIWebShell * aParent,
|
||||
if (!doesContainFrameSet && CanPrint==PR_TRUE) {
|
||||
#endif
|
||||
|
||||
if (!doesContainFrameSet) {
|
||||
NS_ENSURE_SUCCESS( aDContext->BeginDocument(), NS_ERROR_FAILURE );
|
||||
aDContext->GetDeviceSurfaceDimensions(width, height);
|
||||
|
||||
|
@ -1381,6 +1381,7 @@ DocumentViewerImpl::PrintContent(nsIWebShell * aParent,
|
||||
if (!doesContainFrameSet && CanPrint==PR_TRUE) {
|
||||
#endif
|
||||
|
||||
if (!doesContainFrameSet) {
|
||||
NS_ENSURE_SUCCESS( aDContext->BeginDocument(), NS_ERROR_FAILURE );
|
||||
aDContext->GetDeviceSurfaceDimensions(width, height);
|
||||
|
||||
|
@ -1381,6 +1381,7 @@ DocumentViewerImpl::PrintContent(nsIWebShell * aParent,
|
||||
if (!doesContainFrameSet && CanPrint==PR_TRUE) {
|
||||
#endif
|
||||
|
||||
if (!doesContainFrameSet) {
|
||||
NS_ENSURE_SUCCESS( aDContext->BeginDocument(), NS_ERROR_FAILURE );
|
||||
aDContext->GetDeviceSurfaceDimensions(width, height);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user