switch to using reset() to set auto_ptr's. not sure why we did it the

other way. r=saari/sr=hyatt. bug# 75653


git-svn-id: svn://10.0.0.236/trunk@92501 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
pinkerton%netscape.com 2001-04-17 03:19:32 +00:00
parent 6085587437
commit 71f84b05bc

View File

@ -281,8 +281,7 @@ nsMacWindow::nsMacWindow() : Inherited()
, mPhantomScrollbar(nsnull)
, mPhantomScrollbarData(nsnull)
{
//mMacEventHandler.reset(new nsMacEventHandler(this));
mMacEventHandler = (auto_ptr<nsMacEventHandler>) new nsMacEventHandler(this);
mMacEventHandler.reset(new nsMacEventHandler(this));
WIDGET_SET_CLASSNAME("nsMacWindow");
// create handlers for drag&drop