Bug 1322459 part 3 - Remove duplicate mRefCnt in LSPAnnotationGatherer. r?ehsan draft bug-1322459
authorTing-Yu Chou <janus926@gmail.com>
Tue, 13 Dec 2016 15:57:17 +0800
changeset 449837 fd0b020fb9526d39c7bb77e809e2d6f1bb8e1aaa
parent 449836 60132266d417d52564d5d245ba63940c0a72d63b
child 539605 72d83ad19f494060bcd7daef83e961b11d35055f
push id38691
push userbmo:janus926@gmail.com
push dateThu, 15 Dec 2016 07:38:05 +0000
reviewersehsan
bugs1322459
milestone53.0a1
Bug 1322459 part 3 - Remove duplicate mRefCnt in LSPAnnotationGatherer. r?ehsan MozReview-Commit-ID: 8XFO6LyyGus
widget/windows/LSPAnnotator.cpp
--- a/widget/windows/LSPAnnotator.cpp
+++ b/widget/windows/LSPAnnotator.cpp
@@ -29,26 +29,23 @@
 namespace mozilla {
 namespace crashreporter {
 
 class LSPAnnotationGatherer : public Runnable
 {
   ~LSPAnnotationGatherer() {}
 
 public:
-  NS_DECL_THREADSAFE_ISUPPORTS
   NS_DECL_NSIRUNNABLE
 
   void Annotate();
   nsCString mString;
   nsCOMPtr<nsIThread> mThread;
 };
 
-NS_IMPL_ISUPPORTS(LSPAnnotationGatherer, nsIRunnable)
-
 void
 LSPAnnotationGatherer::Annotate()
 {
   nsCOMPtr<nsICrashReporter> cr =
     do_GetService("@mozilla.org/toolkit/crash-reporter;1");
   bool enabled;
   if (cr && NS_SUCCEEDED(cr->GetEnabled(&enabled)) && enabled) {
     cr->AnnotateCrashReport(NS_LITERAL_CSTRING("Winsock_LSP"), mString);