diff options
author | reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2014-01-08 15:42:01 +0000 |
---|---|---|
committer | reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2014-01-08 15:42:01 +0000 |
commit | 672588b684d484dce6ae251e9e163e4a46924322 (patch) | |
tree | c0fd674c6a905b9f7e4f9f8e58326653ab3fe816 /tests | |
parent | c75b25af9e46019b13cde1e642a63b7c253ea5f4 (diff) |
change offset to xy for pixelref subsetting
BUG=
R=scroggo@google.com
Review URL: https://codereview.chromium.org/105893012
git-svn-id: http://skia.googlecode.com/svn/trunk@12958 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'tests')
-rw-r--r-- | tests/PictureTest.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/PictureTest.cpp b/tests/PictureTest.cpp index b90cc030d7..acde9b6d58 100644 --- a/tests/PictureTest.cpp +++ b/tests/PictureTest.cpp @@ -340,8 +340,7 @@ static void test_bad_bitmap() { } #endif -static SkData* encode_bitmap_to_data(size_t* offset, const SkBitmap& bm) { - *offset = 0; +static SkData* encode_bitmap_to_data(size_t*, const SkBitmap& bm) { return SkImageEncoder::EncodeData(bm, SkImageEncoder::kPNG_Type, 100); } |