| Index: Source/core/html/HTMLVideoElement.cpp
|
| diff --git a/Source/core/html/HTMLVideoElement.cpp b/Source/core/html/HTMLVideoElement.cpp
|
| index 6cc6ced7e14dd090793419470cf1a2d6bda3dba3..08c7b93068aaceda2992d2da00906f32f2f6ef04 100644
|
| --- a/Source/core/html/HTMLVideoElement.cpp
|
| +++ b/Source/core/html/HTMLVideoElement.cpp
|
| @@ -316,7 +316,7 @@ PassRefPtr<Image> HTMLVideoElement::getSourceImageForCanvas(SourceImageMode mode
|
|
|
| bool HTMLVideoElement::wouldTaintOrigin(SecurityOrigin* destinationSecurityOrigin) const
|
| {
|
| - return !hasSingleSecurityOrigin() || (!(webMediaPlayer() && webMediaPlayer()->didPassCORSAccessCheck()) && destinationSecurityOrigin->taintsCanvas(currentSrc()));
|
| + return !mediaDataIsCORSSameOrigin(destinationSecurityOrigin);
|
| }
|
|
|
| FloatSize HTMLVideoElement::sourceSize() const
|
|
|