diff options
| author | reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2014-01-13 20:17:58 +0000 |
|---|---|---|
| committer | reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2014-01-13 20:17:58 +0000 |
| commit | dd9ea9262cb61b545fcf414fbde677eb2b62fee4 (patch) | |
| tree | 8126f1aaf7b1a14e900d6245fbc3aca1d9a0f523 /tests/MallocPixelRefTest.cpp | |
| parent | a8582234080b01f042b16af4f2c7461193c2cc82 (diff) | |
add SkBitmap::installPixelRef()
BUG=
R=scroggo@google.com
Review URL: https://codereview.chromium.org/129423002
git-svn-id: http://skia.googlecode.com/svn/trunk@13055 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'tests/MallocPixelRefTest.cpp')
| -rw-r--r-- | tests/MallocPixelRefTest.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/MallocPixelRefTest.cpp b/tests/MallocPixelRefTest.cpp index e169763dad..62d1e9d687 100644 --- a/tests/MallocPixelRefTest.cpp +++ b/tests/MallocPixelRefTest.cpp @@ -23,7 +23,7 @@ static void set_to_one_proc(void*, void* context) { */ DEF_TEST(MallocPixelRef, reporter) { REPORTER_ASSERT(reporter, true); - SkImageInfo info = {10, 13, kPMColor_SkColorType, kPremul_SkAlphaType}; + SkImageInfo info = SkImageInfo::MakePMPremul(10, 13); { SkAutoTUnref<SkMallocPixelRef> pr( SkMallocPixelRef::NewAllocate(info, info.minRowBytes() - 1, NULL)); |
