diff --git a/mozilla/widget/src/mac/nsMacWindow.cpp b/mozilla/widget/src/mac/nsMacWindow.cpp index 51346dcfcb3..1eb5d5c5a93 100644 --- a/mozilla/widget/src/mac/nsMacWindow.cpp +++ b/mozilla/widget/src/mac/nsMacWindow.cpp @@ -281,8 +281,7 @@ nsMacWindow::nsMacWindow() : Inherited() , mPhantomScrollbar(nsnull) , mPhantomScrollbarData(nsnull) { - //mMacEventHandler.reset(new nsMacEventHandler(this)); - mMacEventHandler = (auto_ptr) new nsMacEventHandler(this); + mMacEventHandler.reset(new nsMacEventHandler(this)); WIDGET_SET_CLASSNAME("nsMacWindow"); // create handlers for drag&drop