aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests
diff options
context:
space:
mode:
authorGravatar reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2014-01-08 15:42:01 +0000
committerGravatar reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2014-01-08 15:42:01 +0000
commit672588b684d484dce6ae251e9e163e4a46924322 (patch)
treec0fd674c6a905b9f7e4f9f8e58326653ab3fe816 /tests
parentc75b25af9e46019b13cde1e642a63b7c253ea5f4 (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.cpp3
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);
}