Bug 1347836 part 1 - fix comment; r?jwwang
MozReview-Commit-ID: 61ElwSsArw1
--- a/dom/html/HTMLMediaElement.cpp
+++ b/dom/html/HTMLMediaElement.cpp
@@ -1526,17 +1526,17 @@ HTMLMediaElement::SetVisible(bool aVisib
mDecoder->SetForcedHidden(!aVisible);
}
layers::Image*
HTMLMediaElement::GetCurrentImage()
{
// Mark the decoder owned by the element as tainted so that the
- // suspend-vide-decoder is suspended.
+ // suspend-video-decoder is disabled.
mHasSuspendTaint = true;
if (mDecoder) {
mDecoder->SetSuspendTaint(true);
}
// TODO: In bug 1345404, handle case when video decoder is already suspended.
ImageContainer* container = GetImageContainer();
if (!container) {