Closed Bug 251527 Opened 21 years ago Closed 21 years ago

nsIWidget::GetParent should return already_AddRefed

Categories

(Core Graveyard :: GFX, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 227489

People

(Reporter: dbaron, Assigned: dbaron)

Details

I just found two leak regressions due to the bad signature of nsIWidget::GetParent (which returns an AddRefed nsIWidget*). It should return already_AddRefed<nsIWidget>
*** This bug has been marked as a duplicate of 227489 ***
Status: NEW → RESOLVED
Closed: 21 years ago
Resolution: --- → DUPLICATE
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.