From 9543883d6eb56423834294335a437e5a2d35e9b4 Mon Sep 17 00:00:00 2001 From: "dcone%netscape.com" Date: Mon, 26 Apr 1999 17:25:00 +0000 Subject: [PATCH] fixed bug so refcount is inited --- gfx/src/mac/nsDeviceContextSpecFactoryM.cpp | 1 + widget/src/mac/nsDeviceContextSpecFactoryM.cpp | 1 + 2 files changed, 2 insertions(+) diff --git a/gfx/src/mac/nsDeviceContextSpecFactoryM.cpp b/gfx/src/mac/nsDeviceContextSpecFactoryM.cpp index 1e78db881cd2..7d0398740668 100644 --- a/gfx/src/mac/nsDeviceContextSpecFactoryM.cpp +++ b/gfx/src/mac/nsDeviceContextSpecFactoryM.cpp @@ -27,6 +27,7 @@ */ nsDeviceContextSpecFactoryMac :: nsDeviceContextSpecFactoryMac() { + NS_INIT_REFCNT(); } /** ------------------------------------------------------- diff --git a/widget/src/mac/nsDeviceContextSpecFactoryM.cpp b/widget/src/mac/nsDeviceContextSpecFactoryM.cpp index 1e78db881cd2..7d0398740668 100644 --- a/widget/src/mac/nsDeviceContextSpecFactoryM.cpp +++ b/widget/src/mac/nsDeviceContextSpecFactoryM.cpp @@ -27,6 +27,7 @@ */ nsDeviceContextSpecFactoryMac :: nsDeviceContextSpecFactoryMac() { + NS_INIT_REFCNT(); } /** -------------------------------------------------------