From fc485403b561037d1f924358edc94318d2d4e1da Mon Sep 17 00:00:00 2001 From: "pierre%netscape.com" Date: Fri, 18 Dec 1998 13:29:06 +0000 Subject: [PATCH] Call DeviceContextImpl::Init() just because Windows does it git-svn-id: svn://10.0.0.236/trunk@16659 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/gfx/src/mac/nsDeviceContextMac.cpp | 2 +- mozilla/widget/src/mac/nsDeviceContextMac.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/mozilla/gfx/src/mac/nsDeviceContextMac.cpp b/mozilla/gfx/src/mac/nsDeviceContextMac.cpp index 66bb6a25a41..8dc070e2cd0 100644 --- a/mozilla/gfx/src/mac/nsDeviceContextMac.cpp +++ b/mozilla/gfx/src/mac/nsDeviceContextMac.cpp @@ -86,7 +86,7 @@ double pix_inch; // cps - Unlocking GDeviceHandles is a no - no. See above. ::HSetState ((Handle)thegd,hState); - return NS_OK; + return DeviceContextImpl::Init(aNativeWidget); } diff --git a/mozilla/widget/src/mac/nsDeviceContextMac.cpp b/mozilla/widget/src/mac/nsDeviceContextMac.cpp index 66bb6a25a41..8dc070e2cd0 100644 --- a/mozilla/widget/src/mac/nsDeviceContextMac.cpp +++ b/mozilla/widget/src/mac/nsDeviceContextMac.cpp @@ -86,7 +86,7 @@ double pix_inch; // cps - Unlocking GDeviceHandles is a no - no. See above. ::HSetState ((Handle)thegd,hState); - return NS_OK; + return DeviceContextImpl::Init(aNativeWidget); }