Bug 375928, r=roc, sr=neil

This commit is contained in:
Olli Pettay 2009-07-26 15:15:11 +03:00
parent 369d89abb4
commit 1352242ce7

View File

@ -848,7 +848,7 @@ nsTreeSelection::FireOnSelectHandler()
void
nsTreeSelection::SelectCallback(nsITimer *aTimer, void *aClosure)
{
nsTreeSelection* self = static_cast<nsTreeSelection*>(aClosure);
nsRefPtr<nsTreeSelection> self = static_cast<nsTreeSelection*>(aClosure);
if (self) {
self->FireOnSelectHandler();
aTimer->Cancel();