Change to object lifetime management. Views are no longer ref counted
This commit is contained in:
@@ -81,7 +81,6 @@ NS_METHOD nsHTMLContainerFrame::Paint(nsIPresContext& aPresContext,
|
||||
GetView(view);
|
||||
if (nsnull != view) {
|
||||
aRenderingContext.SetColor(NS_RGB(0,0,255));
|
||||
NS_RELEASE(view);
|
||||
}
|
||||
else {
|
||||
aRenderingContext.SetColor(NS_RGB(255,0,0));
|
||||
|
||||
Reference in New Issue
Block a user