Bug 858012, fix compilation of nsSpeechTask.cpp r=smaug
authorsarat.addepalli@gmail.com
Sun, 07 Apr 2013 01:37:15 +0300
changeset 127914 63bfbc612e21b5cf29c08a7481ce08ba5b651284
parent 127913 fcd43a7b4b982f568d25c36a5143a37fa0e099f5
child 127915 d80e4fd84bb473e037fde6febf709ac6b651eb77
push id26032
push useropettay@mozilla.com
push dateSat, 06 Apr 2013 23:12:02 +0000
treeherdermozilla-inbound@63bfbc612e21 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerssmaug
bugs858012
milestone23.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 858012, fix compilation of nsSpeechTask.cpp r=smaug
content/media/webspeech/synth/nsSpeechTask.cpp
--- a/content/media/webspeech/synth/nsSpeechTask.cpp
+++ b/content/media/webspeech/synth/nsSpeechTask.cpp
@@ -47,17 +47,17 @@ public:
   {
     nsCOMPtr<nsIRunnable> event =
       NS_NewRunnableMethod(this, &SynthStreamListener::DoNotifyFinished);
     aGraph->DispatchToMainThreadAfterStreamStateUpdate(event.forget());
   }
 
   virtual void NotifyBlockingChanged(MediaStreamGraph* aGraph, Blocking aBlocked)
   {
-    if (aBlocked == Blocking::UNBLOCKED && !mStarted) {
+    if (aBlocked == MediaStreamListener::UNBLOCKED && !mStarted) {
       mStarted = true;
       nsCOMPtr<nsIRunnable> event =
         NS_NewRunnableMethod(this, &SynthStreamListener::DoNotifyStarted);
       aGraph->DispatchToMainThreadAfterStreamStateUpdate(event.forget());
     }
   }
 
 private: