Remove dead code, stuff that used to override IPDL methods that don't exist any more. No bug. r=jduell,eitan
authorJosh Aas <joshmoz@gmail.com>
Fri, 17 Jan 2014 13:58:05 -0600
changeset 164097 98a42a023afb342ff2bd5d2ebdfa0164aba41c40
parent 164096 9d2d2a2bea7f71b2a4b8b4807a6ec06748e29983
child 164098 f95bc5df7fcfbd8801a8f043a0d9e25148f3bae9
push id26026
push userphilringnalda@gmail.com
push dateSat, 18 Jan 2014 23:17:27 +0000
treeherdermozilla-central@61fd0f987cf2 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjduell, eitan
milestone29.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
Remove dead code, stuff that used to override IPDL methods that don't exist any more. No bug. r=jduell,eitan
content/media/webspeech/synth/ipc/SpeechSynthesisChild.cpp
content/media/webspeech/synth/ipc/SpeechSynthesisChild.h
netwerk/protocol/websocket/WebSocketChannelChild.h
--- a/content/media/webspeech/synth/ipc/SpeechSynthesisChild.cpp
+++ b/content/media/webspeech/synth/ipc/SpeechSynthesisChild.cpp
@@ -107,24 +107,16 @@ bool
 SpeechSynthesisRequestChild::RecvOnResume(const float& aElapsedTime,
                                           const uint32_t& aCharIndex)
 {
   mTask->DispatchResumeImpl(aElapsedTime, aCharIndex);
   return true;
 }
 
 bool
-SpeechSynthesisRequestChild::RecvOnError(const float& aElapsedTime,
-                                         const uint32_t& aCharIndex)
-{
-  mTask->DispatchErrorImpl(aElapsedTime, aCharIndex);
-  return true;
-}
-
-bool
 SpeechSynthesisRequestChild::RecvOnBoundary(const nsString& aName,
                                             const float& aElapsedTime,
                                             const uint32_t& aCharIndex)
 {
   mTask->DispatchBoundaryImpl(aName, aElapsedTime, aCharIndex);
   return true;
 }
 
--- a/content/media/webspeech/synth/ipc/SpeechSynthesisChild.h
+++ b/content/media/webspeech/synth/ipc/SpeechSynthesisChild.h
@@ -53,18 +53,16 @@ protected:
   virtual bool Recv__delete__(const bool& aIsError,
                               const float& aElapsedTime,
                               const uint32_t& aCharIndex) MOZ_OVERRIDE;
 
   virtual bool RecvOnPause(const float& aElapsedTime, const uint32_t& aCharIndex) MOZ_OVERRIDE;
 
   virtual bool RecvOnResume(const float& aElapsedTime, const uint32_t& aCharIndex) MOZ_OVERRIDE;
 
-  virtual bool RecvOnError(const float& aElapsedTime, const uint32_t& aCharIndex);
-
   virtual bool RecvOnBoundary(const nsString& aName, const float& aElapsedTime,
                               const uint32_t& aCharIndex) MOZ_OVERRIDE;
 
   virtual bool RecvOnMark(const nsString& aName, const float& aElapsedTime,
                           const uint32_t& aCharIndex) MOZ_OVERRIDE;
 
   nsRefPtr<SpeechTaskChild> mTask;
 };
--- a/netwerk/protocol/websocket/WebSocketChannelChild.h
+++ b/netwerk/protocol/websocket/WebSocketChannelChild.h
@@ -40,17 +40,16 @@ class WebSocketChannelChild : public Bas
 
  private:
   bool RecvOnStart(const nsCString& aProtocol, const nsCString& aExtensions) MOZ_OVERRIDE;
   bool RecvOnStop(const nsresult& aStatusCode) MOZ_OVERRIDE;
   bool RecvOnMessageAvailable(const nsCString& aMsg) MOZ_OVERRIDE;
   bool RecvOnBinaryMessageAvailable(const nsCString& aMsg) MOZ_OVERRIDE;
   bool RecvOnAcknowledge(const uint32_t& aSize) MOZ_OVERRIDE;
   bool RecvOnServerClose(const uint16_t& aCode, const nsCString &aReason) MOZ_OVERRIDE;
-  bool RecvAsyncOpenFailed();
 
   void OnStart(const nsCString& aProtocol, const nsCString& aExtensions);
   void OnStop(const nsresult& aStatusCode);
   void OnMessageAvailable(const nsCString& aMsg);
   void OnBinaryMessageAvailable(const nsCString& aMsg);
   void OnAcknowledge(const uint32_t& aSize);
   void OnServerClose(const uint16_t& aCode, const nsCString& aReason);
   void AsyncOpenFailed();