changing nsCOMPtr to weak references for PresContext
a=leaf, r=self, bug=bloat&leak went up
This commit is contained in:
@@ -83,6 +83,7 @@ nsHTMLButtonControlFrame::nsHTMLButtonControlFrame()
|
||||
mTranslatedRect = nsRect(0,0,0,0);
|
||||
mDidInit = PR_FALSE;
|
||||
mRenderer.SetNameSpace(kNameSpaceID_None);
|
||||
mPresContext = nsnull;
|
||||
|
||||
mCacheSize.width = -1;
|
||||
mCacheSize.height = -1;
|
||||
|
||||
Reference in New Issue
Block a user