diff options
author | fmalita <fmalita@chromium.org> | 2015-08-20 08:47:26 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-08-20 08:47:26 -0700 |
commit | ddbbddabefe865cc52e4b89a9d45455b987129bd (patch) | |
tree | dac7bc153f4623b6efb980985734478b93033355 /tests/CachedDecodingPixelRefTest.cpp | |
parent | 7d173403f47bb85cfd5c42b69c734668e25e47f9 (diff) |
SkImage method for detecting lazy decoding
BUG=skia:4224
R=reed@google.com
Review URL: https://codereview.chromium.org/1305453007
Diffstat (limited to 'tests/CachedDecodingPixelRefTest.cpp')
-rw-r--r-- | tests/CachedDecodingPixelRefTest.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/CachedDecodingPixelRefTest.cpp b/tests/CachedDecodingPixelRefTest.cpp index 0e9b18e1cf..c69cd969f5 100644 --- a/tests/CachedDecodingPixelRefTest.cpp +++ b/tests/CachedDecodingPixelRefTest.cpp @@ -326,6 +326,7 @@ DEF_TEST(Image_NewFromGenerator, r) { } REPORTER_ASSERT(r, TestImageGenerator::Width() == image->width()); REPORTER_ASSERT(r, TestImageGenerator::Height() == image->height()); + REPORTER_ASSERT(r, image->isLazyGenerated()); SkBitmap bitmap; bitmap.allocN32Pixels(TestImageGenerator::Width(), TestImageGenerator::Height()); |