Bug 771266 - Part 2: Remove the fastcall annotation from ~nsCOMPtr_base, because it doesn't mean anything now that it's inline; irc-r=Neil
☠☠ backed out by 57ae1fdbcfc5 ☠ ☠
authorEhsan Akhgari <ehsan@mozilla.com>
Thu, 05 Jul 2012 16:26:59 -0400
changeset 98442 34c8a2369cbc1faa386cd8bd3af2d72113659959
parent 98441 a10f431c3480a7ef0c8a5530a76005f968aa532b
child 98443 aa7493c796cefc4885f70ab4c75ff30e422b13be
push id11481
push usereakhgari@mozilla.com
push dateThu, 05 Jul 2012 20:27:09 +0000
treeherdermozilla-inbound@34c8a2369cbc [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs771266
milestone16.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 771266 - Part 2: Remove the fastcall annotation from ~nsCOMPtr_base, because it doesn't mean anything now that it's inline; irc-r=Neil
xpcom/glue/nsCOMPtr.h
--- a/xpcom/glue/nsCOMPtr.h
+++ b/xpcom/glue/nsCOMPtr.h
@@ -396,17 +396,17 @@ nsCOMPtr_base
     public:
 
       nsCOMPtr_base( nsISupports* rawPtr = 0 )
           : mRawPtr(rawPtr)
         {
           // nothing else to do here
         }
 
-      NS_COM_GLUE NS_CONSTRUCTOR_FASTCALL ~nsCOMPtr_base()
+      NS_COM_GLUE ~nsCOMPtr_base()
         {
           NSCAP_LOG_RELEASE(this, mRawPtr);
             if ( mRawPtr )
               NSCAP_RELEASE(this, mRawPtr);
         }
 
       NS_COM_GLUE void NS_FASTCALL   assign_with_AddRef( nsISupports* );
       NS_COM_GLUE void NS_FASTCALL   assign_from_qi( const nsQueryInterface, const nsIID& );