diff --git a/mozilla/layout/base/nsPresShell.cpp b/mozilla/layout/base/nsPresShell.cpp index 305c1099d82..94a44cbfbc8 100644 --- a/mozilla/layout/base/nsPresShell.cpp +++ b/mozilla/layout/base/nsPresShell.cpp @@ -1013,7 +1013,7 @@ NS_IMETHODIMP PresShell::GetCaret(nsICaret **outCaret) return mCaret->QueryInterface(kICaretIID,(void **)outCaret); } -NS_METHOD PresShell::RefreshCaret(nsIView *aView, nsIRenderingContext& aRendContext, const nsRect& aDirtyRect) +nsresult PresShell::RefreshCaret(nsIView *aView, nsIRenderingContext& aRendContext, const nsRect& aDirtyRect) { if (mCaret) mCaret->Refresh(aView, aRendContext, aDirtyRect); diff --git a/mozilla/layout/html/base/src/nsPresShell.cpp b/mozilla/layout/html/base/src/nsPresShell.cpp index 305c1099d82..94a44cbfbc8 100644 --- a/mozilla/layout/html/base/src/nsPresShell.cpp +++ b/mozilla/layout/html/base/src/nsPresShell.cpp @@ -1013,7 +1013,7 @@ NS_IMETHODIMP PresShell::GetCaret(nsICaret **outCaret) return mCaret->QueryInterface(kICaretIID,(void **)outCaret); } -NS_METHOD PresShell::RefreshCaret(nsIView *aView, nsIRenderingContext& aRendContext, const nsRect& aDirtyRect) +nsresult PresShell::RefreshCaret(nsIView *aView, nsIRenderingContext& aRendContext, const nsRect& aDirtyRect) { if (mCaret) mCaret->Refresh(aView, aRendContext, aDirtyRect);