diff --git a/mozilla/widget/src/mac/nsAppShell.cpp b/mozilla/widget/src/mac/nsAppShell.cpp index 84d91b65045..9a18faf8d91 100644 --- a/mozilla/widget/src/mac/nsAppShell.cpp +++ b/mozilla/widget/src/mac/nsAppShell.cpp @@ -86,7 +86,7 @@ NS_IMETHODIMP nsAppShell::Create(int* argc, char ** argv) // Enter a message handler loop // //------------------------------------------------------------------------- -nsresult nsAppShell::Run() +NS_IMETHODIMP nsAppShell::Run() { if (!mMacPump.get()) return NS_ERROR_NOT_INITIALIZED; diff --git a/mozilla/widget/src/mac/nsAppShell.h b/mozilla/widget/src/mac/nsAppShell.h index 929fe09fba6..4381026d2bf 100644 --- a/mozilla/widget/src/mac/nsAppShell.h +++ b/mozilla/widget/src/mac/nsAppShell.h @@ -60,7 +60,7 @@ class nsAppShell : public nsIAppShell // nsIAppShellInterface NS_IMETHOD Create(int* argc, char ** argv); - virtual nsresult Run(); + NS_IMETHOD Run(); NS_IMETHOD Spinup(); NS_IMETHOD Spindown(); NS_IMETHOD PushThreadEventQueue();