Index: Source/platform/graphics/BitmapImageTest.cpp |
diff --git a/Source/platform/graphics/BitmapImageTest.cpp b/Source/platform/graphics/BitmapImageTest.cpp |
index 4b29ccdd51a5a21ca66e07f393f80ece978b4043..4ab8d388782ee6e467ba478e480f37a8f55efb68 100644 |
--- a/Source/platform/graphics/BitmapImageTest.cpp |
+++ b/Source/platform/graphics/BitmapImageTest.cpp |
@@ -83,8 +83,9 @@ public: |
EXPECT_EQ(0u, decodedSize()); |
size_t frameCount = m_image->frameCount(); |
+ SkBitmap dummy; |
for (size_t i = 0; i < frameCount; ++i) |
- m_image->frameAtIndex(i); |
+ ASSERT_TRUE(m_image->frameAtIndex(i, &dummy)); |
} |
size_t decodedSize() |