From e8689abce96768cda4f17fd444405047d189b54e Mon Sep 17 00:00:00 2001 From: "michaelp%netscape.com" Date: Sat, 28 Nov 1998 04:21:40 +0000 Subject: [PATCH] added missing NS_INIT_REFCNT(). --- gfx/src/windows/nsDeviceContextSpecWin.cpp | 2 ++ widget/src/windows/nsDeviceContextSpecWin.cpp | 2 ++ 2 files changed, 4 insertions(+) diff --git a/gfx/src/windows/nsDeviceContextSpecWin.cpp b/gfx/src/windows/nsDeviceContextSpecWin.cpp index a2c0c718eb0..c2979f8ba9d 100644 --- a/gfx/src/windows/nsDeviceContextSpecWin.cpp +++ b/gfx/src/windows/nsDeviceContextSpecWin.cpp @@ -22,6 +22,8 @@ nsDeviceContextSpecWin :: nsDeviceContextSpecWin() { + NS_INIT_REFCNT(); + mDriverName = nsnull; mDeviceName = nsnull; mDEVMODE = NULL; diff --git a/widget/src/windows/nsDeviceContextSpecWin.cpp b/widget/src/windows/nsDeviceContextSpecWin.cpp index a2c0c718eb0..c2979f8ba9d 100644 --- a/widget/src/windows/nsDeviceContextSpecWin.cpp +++ b/widget/src/windows/nsDeviceContextSpecWin.cpp @@ -22,6 +22,8 @@ nsDeviceContextSpecWin :: nsDeviceContextSpecWin() { + NS_INIT_REFCNT(); + mDriverName = nsnull; mDeviceName = nsnull; mDEVMODE = NULL;