diff --git a/widget/src/windows/nsWindow.h b/widget/src/windows/nsWindow.h index b8a0b24e1bdd..3adf676e0852 100644 --- a/widget/src/windows/nsWindow.h +++ b/widget/src/windows/nsWindow.h @@ -50,6 +50,7 @@ * nsWindow - Native window management and event handling. */ +#include "nsAutoPtr.h" #include "nsBaseWidget.h" #include "nsdefs.h" #include "nsIdleService.h" @@ -659,7 +660,7 @@ protected: } PRBool mCancel; - nsCOMPtr mWindow; + nsRefPtr mWindow; const MSG &mMsg; };