commit | a3264e53ee3f3c5d6a2c813df7e44b5b96d207f2 | [log] [tgz] |
---|---|---|
author | commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> | Fri May 30 13:26:10 2014 +0000 |
committer | commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> | Fri May 30 13:26:10 2014 +0000 |
tree | 5a95db31ba21ba5f0354b3e9e622a046fe6e04c4 | |
parent | 16fdbd3141f23a348e4b9f706e77307a947bd5a2 [diff] [blame] |
Revert "Revert of setConfig -> setInfo (https://codereview.chromium.org/308683005/)" This reverts commit eecaea4148805834f223681f70b6488ceba12d09. R=robertphillips@google.com, scroggo@google.com Author: reed@google.com Review URL: https://codereview.chromium.org/301283003 git-svn-id: http://skia.googlecode.com/svn/trunk@14989 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/tests/WritePixelsTest.cpp b/tests/WritePixelsTest.cpp index a0e3051..1a52793 100644 --- a/tests/WritePixelsTest.cpp +++ b/tests/WritePixelsTest.cpp
@@ -290,7 +290,7 @@ // sure that the two rowBytes match (and the infos match). // static bool allocRowBytes(SkBitmap* bm, const SkImageInfo& info, size_t rowBytes) { - if (!bm->setConfig(info, rowBytes)) { + if (!bm->setInfo(info, rowBytes)) { return false; } SkPixelRef* pr = SkMallocPixelRef::NewAllocate(info, rowBytes, NULL);