Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1469)

Unified Diff: Source/platform/graphics/BitmapImageTest.cpp

Issue 1008243003: Nuke NativeImageSkia -- new version. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Convert BitmapImage::createFrameAtIndex() to Skia-style Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: Source/platform/graphics/BitmapImageTest.cpp
diff --git a/Source/platform/graphics/BitmapImageTest.cpp b/Source/platform/graphics/BitmapImageTest.cpp
index 4b29ccdd51a5a21ca66e07f393f80ece978b4043..cfdbb95ff5792b64abd6d28e875da87f78280897 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);
+ m_image->frameAtIndex(i, &dummy);
}
size_t decodedSize()

Powered by Google App Engine
This is Rietveld 408576698