Index: Source/platform/graphics/BitmapImage.cpp |
diff --git a/Source/platform/graphics/BitmapImage.cpp b/Source/platform/graphics/BitmapImage.cpp |
index 54fad32571617c1f0bb0978a024a16cfdf354af0..55921af397d7511f55f5c769e1fd8be579f85a70 100644 |
--- a/Source/platform/graphics/BitmapImage.cpp |
+++ b/Source/platform/graphics/BitmapImage.cpp |
@@ -235,7 +235,8 @@ bool BitmapImage::dataChanged(bool allDataReceived) |
// Feed all the data we've seen so far to the image decoder. |
m_allDataReceived = allDataReceived; |
- m_source.setData(data(), allDataReceived); |
+ ASSERT(data()); |
+ m_source.setData(*data(), allDataReceived); |
m_haveFrameCount = false; |
m_hasUniformFrameSize = true; |