From cd68d72f417f56f32bb69dbd908ad496c4bfc5e8 Mon Sep 17 00:00:00 2001 From: "hyatt%netscape.com" Date: Tue, 30 Oct 2001 00:01:39 +0000 Subject: [PATCH] SetParent in nsIFrame should not be inlined. r=evaughan, sr=hewitt git-svn-id: svn://10.0.0.236/trunk@106598 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/layout/base/public/nsIFrame.h | 2 +- mozilla/layout/generic/nsIFrame.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/mozilla/layout/base/public/nsIFrame.h b/mozilla/layout/base/public/nsIFrame.h index c042b2279e4..1e39212b350 100644 --- a/mozilla/layout/base/public/nsIFrame.h +++ b/mozilla/layout/base/public/nsIFrame.h @@ -591,7 +591,7 @@ public: * Accessor functions for geometric parent */ nsresult GetParent(nsIFrame** aParent) const { *aParent = mParent; return NS_OK; } - nsresult SetParent(const nsIFrame* aParent) { mParent = (nsIFrame*)aParent; return NS_OK; } + NS_IMETHOD SetParent(const nsIFrame* aParent) { mParent = (nsIFrame*)aParent; return NS_OK; } /** * Bounding rect of the frame. The values are in twips, and the origin is diff --git a/mozilla/layout/generic/nsIFrame.h b/mozilla/layout/generic/nsIFrame.h index c042b2279e4..1e39212b350 100644 --- a/mozilla/layout/generic/nsIFrame.h +++ b/mozilla/layout/generic/nsIFrame.h @@ -591,7 +591,7 @@ public: * Accessor functions for geometric parent */ nsresult GetParent(nsIFrame** aParent) const { *aParent = mParent; return NS_OK; } - nsresult SetParent(const nsIFrame* aParent) { mParent = (nsIFrame*)aParent; return NS_OK; } + NS_IMETHOD SetParent(const nsIFrame* aParent) { mParent = (nsIFrame*)aParent; return NS_OK; } /** * Bounding rect of the frame. The values are in twips, and the origin is