Fix bustage for bug 755533
authorRobert O'Callahan <robert@ocallahan.org>
Mon, 28 May 2012 11:08:59 +1200
changeset 99143 0729364c8b30f3c92bf1befaeab6c63de0855b83
parent 99142 e77a9970de71afbeaf48d1635d90f7defe7e4ab1
child 99144 fe69d3aa1cc55b27495f54cc51cc3d77f7fda1d9
push idunknown
push userunknown
push dateunknown
bugs755533
milestone15.0a1
Fix bustage for bug 755533
content/media/nsBuiltinDecoder.cpp
--- a/content/media/nsBuiltinDecoder.cpp
+++ b/content/media/nsBuiltinDecoder.cpp
@@ -649,17 +649,17 @@ void nsBuiltinDecoder::NotifySuspendedSt
   
   if (mElement) {
     if (suspended) {
       // If this is an autoplay element, we need to kick off its autoplaying
       // now so we consume data and hopefully free up cache space.
       mElement->NotifyAutoplayDataReady();
     }
     mElement->NotifySuspendedByCache(suspended);
-    mElement->UpdateReadyStateForData();
+    UpdateReadyStateForData();
   } 
 }
 
 void nsBuiltinDecoder::NotifyBytesDownloaded()
 {
   NS_ASSERTION(NS_IsMainThread(), "Should be on main thread.");
   UpdateReadyStateForData();
   Progress(false);