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

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

Issue 1008243003: Nuke NativeImageSkia -- new version. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Add more WARN_UNUSED_RETURN goodness 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
« no previous file with comments | « Source/platform/graphics/BitmapImage.cpp ('k') | Source/platform/graphics/BitmapPattern.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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()
« no previous file with comments | « Source/platform/graphics/BitmapImage.cpp ('k') | Source/platform/graphics/BitmapPattern.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698