Index: Source/modules/imagebitmap/ImageBitmapFactories.cpp |
diff --git a/Source/modules/imagebitmap/ImageBitmapFactories.cpp b/Source/modules/imagebitmap/ImageBitmapFactories.cpp |
index 781bb9af23fa4a4f249752671d5daeb0fabbf0dd..a78053a406c4b3ccd032b57af01dde3e1af5b3e3 100644 |
--- a/Source/modules/imagebitmap/ImageBitmapFactories.cpp |
+++ b/Source/modules/imagebitmap/ImageBitmapFactories.cpp |
@@ -127,8 +127,7 @@ ScriptPromise ImageBitmapFactories::createImageBitmap(ScriptState* scriptState, |
exceptionState.throwDOMException(InvalidStateError, "The provided element has not retrieved data."); |
return ScriptPromise(); |
} |
- // FIXME: Remove the below null check once we fix the bug 382721 |
- if (video->readyState() <= HTMLMediaElement::HAVE_METADATA || !video->webMediaPlayer()) { |
+ if (video->readyState() <= HTMLMediaElement::HAVE_METADATA) { |
exceptionState.throwDOMException(InvalidStateError, "The provided element's player has no current data."); |
return ScriptPromise(); |
} |