backed out dps erroneous fix

git-svn-id: svn://10.0.0.236/trunk@49785 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
kipp%netscape.com
1999-10-05 01:44:35 +00:00
parent 8aa6b7aa38
commit e62c5f3e87
2 changed files with 6 additions and 6 deletions

View File

@@ -59,7 +59,7 @@ static NS_DEFINE_IID(kIPresContextIID, NS_IPRESCONTEXT_IID);
static NS_DEFINE_IID(kLookAndFeelCID, NS_LOOKANDFEEL_CID);
static NS_DEFINE_IID(kILookAndFeelIID, NS_ILOOKANDFEEL_IID);
//MOZ_DECL_CTOR(nsPresContext);
MOZ_DECL_CTOR(nsPresContext);
nsPresContext::nsPresContext()
: mDefaultFont("Times", NS_FONT_STYLE_NORMAL,
@@ -73,7 +73,7 @@ nsPresContext::nsPresContext()
0,
NSIntPointsToTwips(10))
{
// MOZ_CTOR(nsPresContext);
MOZ_CTOR(nsPresContext);
NS_INIT_REFCNT();
mCompatibilityMode = eCompatibility_Standard;
mCompatibilityLocked = PR_FALSE;
@@ -96,7 +96,7 @@ nsPresContext::nsPresContext()
nsPresContext::~nsPresContext()
{
// MOZ_DTOR(nsPresContext);
MOZ_DTOR(nsPresContext);
mShell = nsnull;
Stop();

View File

@@ -59,7 +59,7 @@ static NS_DEFINE_IID(kIPresContextIID, NS_IPRESCONTEXT_IID);
static NS_DEFINE_IID(kLookAndFeelCID, NS_LOOKANDFEEL_CID);
static NS_DEFINE_IID(kILookAndFeelIID, NS_ILOOKANDFEEL_IID);
//MOZ_DECL_CTOR(nsPresContext);
MOZ_DECL_CTOR(nsPresContext);
nsPresContext::nsPresContext()
: mDefaultFont("Times", NS_FONT_STYLE_NORMAL,
@@ -73,7 +73,7 @@ nsPresContext::nsPresContext()
0,
NSIntPointsToTwips(10))
{
// MOZ_CTOR(nsPresContext);
MOZ_CTOR(nsPresContext);
NS_INIT_REFCNT();
mCompatibilityMode = eCompatibility_Standard;
mCompatibilityLocked = PR_FALSE;
@@ -96,7 +96,7 @@ nsPresContext::nsPresContext()
nsPresContext::~nsPresContext()
{
// MOZ_DTOR(nsPresContext);
MOZ_DTOR(nsPresContext);
mShell = nsnull;
Stop();