Bug 1345403 part 3 - Test element becomes tainted by DrawImage; r=jwwang,smaug

MozReview-Commit-ID: 9Txz4FbFtPe
This commit is contained in:
Kaku Kuo
2017-03-08 20:22:05 +08:00
parent 7802474ab9
commit 534d42fb9c
9 changed files with 91 additions and 11 deletions

View File

@@ -1547,6 +1547,13 @@ HTMLMediaElement::GetCurrentImage()
return lockImage.GetImage();
}
bool
HTMLMediaElement::HasSuspendTaint() const
{
MOZ_ASSERT(!mDecoder || (mDecoder->HasSuspendTaint() == mHasSuspendTaint));
return mHasSuspendTaint;
}
already_AddRefed<DOMMediaStream>
HTMLMediaElement::GetSrcObject() const
{