Bug 682767 - Warning nsISupportsImpl.h: unused owner; r=bsmedberg
authorOleg Romashin <romaxa@gmail.com>
Wed, 31 Aug 2011 13:16:13 +0100
changeset 76260 3ef046cd262245dacde049b8434345f715f964c1
parent 76259 5565603c0b7dcddbfe925625bf90ae708c247506
child 76261 256a8799fce7c45e5a6fe2e0eb59fadc70e63e1c
push id1591
push userbmo@edmorley.co.uk
push dateWed, 31 Aug 2011 12:51:48 +0000
treeherdermozilla-inbound@256a8799fce7 [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;