mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-03 20:49:27 +00:00
switch to using reset() to set auto_ptr's. not sure why we did it the
other way. r=saari/sr=hyatt. bug# 75653
This commit is contained in:
parent
b72f1529b3
commit
4edcf85c62
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user