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:
@@ -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();
|
||||
|
||||
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user