From a01b0389bf9a0054424c33c696c103f3f51b200b Mon Sep 17 00:00:00 2001 From: Robert O'Callahan Date: Fri, 26 Oct 2012 12:08:38 +1300 Subject: [PATCH] Backout 15c4d6334107 (bug 790854) for test failures --- content/media/MediaStreamGraph.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/content/media/MediaStreamGraph.cpp b/content/media/MediaStreamGraph.cpp index 5a5b095a097..f190b99ee2e 100644 --- a/content/media/MediaStreamGraph.cpp +++ b/content/media/MediaStreamGraph.cpp @@ -1798,9 +1798,8 @@ MediaStream::Destroy() { Run(); } }; mWrapper = nullptr; - mMainThreadDestroyed = true; GraphImpl()->AppendMessage(new Message(this)); - // 'this' can be dead after the AppendMessage, so don't touch it here. + mMainThreadDestroyed = true; } void