Bug 827654 - Actually QI to interfaces we implement in nsCancelableRunnable. r=smaug, a=akeybl
authorBoris Zbarsky <bzbarsky@mit.edu>
Tue, 08 Jan 2013 09:01:30 -0500
changeset 127091 7fb28138fb9add76638bfa76c307c789c5b9b506
parent 127090 86652d19a3c3ba1a928c284f79f4b7c2fb5bd36a
child 127092 87124242786eced99651921ca169eab83aa68c43
push id2151
push userlsblakk@mozilla.com
push dateTue, 19 Feb 2013 18:06:57 +0000
treeherdermozilla-beta@4952e88741ec [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerssmaug, akeybl
bugs827654
milestone20.0a2
Bug 827654 - Actually QI to interfaces we implement in nsCancelableRunnable. r=smaug, a=akeybl
xpcom/glue/nsThreadUtils.cpp
--- a/xpcom/glue/nsThreadUtils.cpp
+++ b/xpcom/glue/nsThreadUtils.cpp
@@ -32,17 +32,18 @@ NS_IMPL_THREADSAFE_ISUPPORTS1(nsRunnable
 
 NS_IMETHODIMP
 nsRunnable::Run()
 {
   // Do nothing
   return NS_OK;
 }
 
-NS_IMPL_THREADSAFE_ISUPPORTS1(nsCancelableRunnable, nsICancelableRunnable)
+NS_IMPL_THREADSAFE_ISUPPORTS2(nsCancelableRunnable, nsICancelableRunnable,
+                              nsIRunnable)
 
 NS_IMETHODIMP
 nsCancelableRunnable::Run()
 {
   // Do nothing
   return NS_OK;
 }