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