From fdf2976375e1d3aa6c8dfc216f7af2e5257a73c0 Mon Sep 17 00:00:00 2001 From: "dbaron%fas.harvard.edu" Date: Sat, 14 Apr 2001 17:08:16 +0000 Subject: [PATCH] Reduce the size of nsXPIDL[C]String by making destructor non-virtual and thus removing vtable pointer. b=75163 r=waterson@netscape.com sr=scc@mozilla.org git-svn-id: svn://10.0.0.236/trunk@92296 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/string/obsolete/nsXPIDLString.h | 4 ++-- mozilla/xpcom/string/obsolete/nsXPIDLString.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/mozilla/string/obsolete/nsXPIDLString.h b/mozilla/string/obsolete/nsXPIDLString.h index c1a30745cb9..6c92f49a8ee 100644 --- a/mozilla/string/obsolete/nsXPIDLString.h +++ b/mozilla/string/obsolete/nsXPIDLString.h @@ -119,7 +119,7 @@ public: */ nsXPIDLString() : mBuf(0), mBufOwner(PR_FALSE) {} - virtual ~nsXPIDLString(); + ~nsXPIDLString(); /** * Return a reference to the immutable Unicode string. @@ -262,7 +262,7 @@ public: */ nsXPIDLCString() : mBuf(0), mBufOwner(PR_FALSE) {} - virtual ~nsXPIDLCString(); + ~nsXPIDLCString(); /** * Assign a single-byte string to this wrapper. Copies diff --git a/mozilla/xpcom/string/obsolete/nsXPIDLString.h b/mozilla/xpcom/string/obsolete/nsXPIDLString.h index c1a30745cb9..6c92f49a8ee 100644 --- a/mozilla/xpcom/string/obsolete/nsXPIDLString.h +++ b/mozilla/xpcom/string/obsolete/nsXPIDLString.h @@ -119,7 +119,7 @@ public: */ nsXPIDLString() : mBuf(0), mBufOwner(PR_FALSE) {} - virtual ~nsXPIDLString(); + ~nsXPIDLString(); /** * Return a reference to the immutable Unicode string. @@ -262,7 +262,7 @@ public: */ nsXPIDLCString() : mBuf(0), mBufOwner(PR_FALSE) {} - virtual ~nsXPIDLCString(); + ~nsXPIDLCString(); /** * Assign a single-byte string to this wrapper. Copies