Index: Source/core/html/HTMLVideoElement.cpp |
diff --git a/Source/core/html/HTMLVideoElement.cpp b/Source/core/html/HTMLVideoElement.cpp |
index d32d461fa08d360e8a7add657ae638a716ba8339..3c021ea423a6b0f8c9ca2b71f27710e8add1c307 100644 |
--- a/Source/core/html/HTMLVideoElement.cpp |
+++ b/Source/core/html/HTMLVideoElement.cpp |
@@ -213,7 +213,7 @@ bool HTMLVideoElement::copyVideoTextureToPlatformTexture(WebGraphicsContext3D* c |
if (!webMediaPlayer()) |
return false; |
- if (!Extensions3DUtil::canUseCopyTextureCHROMIUM(internalFormat, type, level) || !context->makeContextCurrent()) |
+ if (!Extensions3DUtil::canUseCopyTextureCHROMIUM(internalFormat, type, level)) |
return false; |
return webMediaPlayer()->copyVideoTextureToPlatformTexture(context, texture, level, internalFormat, type, premultiplyAlpha, flipY); |