Bug 682767 - Warning nsISupportsImpl.h: unused owner; r=bsmedberg
authorOleg Romashin <romaxa@gmail.com>
Wed, 31 Aug 2011 13:16:13 +0100
changeset 77632 3ef046cd262245dacde049b8434345f715f964c1
parent 77631 5565603c0b7dcddbfe925625bf90ae708c247506
child 77633 256a8799fce7c45e5a6fe2e0eb59fadc70e63e1c
push id78
push userclegnitto@mozilla.com
push dateFri, 16 Dec 2011 17:32:24 +0000
treeherdermozilla-release@79d24e644fdd [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbsmedberg
bugs682767
milestone9.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 682767 - Warning nsISupportsImpl.h: unused owner; r=bsmedberg
xpcom/glue/nsISupportsImpl.h
--- a/xpcom/glue/nsISupportsImpl.h
+++ b/xpcom/glue/nsISupportsImpl.h
@@ -170,17 +170,17 @@ public:
       refcount = NS_CCAR_TAGGED_TO_REFCNT(mTagged);
       ++refcount;
       mTagged = NS_CCAR_REFCNT_TO_TAGGED(refcount);
     }
 
     return refcount;
   }
 
-  void stabilizeForDeletion(nsISupports *owner)
+  void stabilizeForDeletion(nsISupports*)
   {
     mTagged = NS_CCAR_TAGGED_STABILIZED_REFCNT;
   }
 
   nsrefcnt decr(nsISupports *owner)
   {
     if (NS_UNLIKELY(mTagged == NS_CCAR_TAGGED_STABILIZED_REFCNT))
       return 1;