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); }