Bug 1275299 - Make SocketTask a CancelableRunnable r?tdz draft
authorAlexandre Lissy <lissyx@lissyx.dyndns.org>
Thu, 26 May 2016 12:40:25 +0200
changeset 372900 ec4269a6a5d39f02a57b5644915f963b2f7f7621
parent 372484 2c7440e46d8786b2c82a1d2004e2b6d9d13f4046
child 522274 aad350b812e48483182309ff4b5cbfc862cc04e7
push id19625
push userbmo:lissyx+mozillians@lissyx.dyndns.org
push dateMon, 30 May 2016 15:09:17 +0000
reviewerstdz
bugs1275299
milestone49.0a1
Bug 1275299 - Make SocketTask a CancelableRunnable r?tdz MozReview-Commit-ID: JHVQ6BFvS1Z
ipc/unixsocket/SocketBase.h
--- a/ipc/unixsocket/SocketBase.h
+++ b/ipc/unixsocket/SocketBase.h
@@ -448,17 +448,17 @@ private:
 //
 // Socket tasks
 //
 
 /* |SocketTask| is a task for sending a message from
  * the I/O thread to the consumer thread.
  */
 template <typename T>
-class SocketTask : public Runnable
+class SocketTask : public CancelableRunnable
 {
 public:
   virtual ~SocketTask()
   { }
 
   T* GetIO() const
   {
     return mIO;