aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/PaintTest.cpp
diff options
context:
space:
mode:
authorGravatar commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>2014-04-16 16:24:08 +0000
committerGravatar commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>2014-04-16 16:24:08 +0000
commit39426e2bcc8463b88872d22d6ed2729c68323073 (patch)
tree608a8f1512fbce0436da9bb1be00764f38fad254 /tests/PaintTest.cpp
parent9631337be0f463ede106c5dbca69d726795f6ccf (diff)
read/write function_ptrs as just void*, and not as 'array of bytes'
BUG=skia: R=mtklein@google.com, bungeman@google.com Author: reed@google.com Review URL: https://codereview.chromium.org/240013005 git-svn-id: http://skia.googlecode.com/svn/trunk@14224 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'tests/PaintTest.cpp')
-rw-r--r--tests/PaintTest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/PaintTest.cpp b/tests/PaintTest.cpp
index 98110e0d8d..f6aede1200 100644
--- a/tests/PaintTest.cpp
+++ b/tests/PaintTest.cpp
@@ -325,7 +325,7 @@ DEF_TEST(Paint_FlatteningTraits, r) {
SkWriteBuffer writer;
SkPaint::FlatteningTraits::Flatten(writer, paint);
- const size_t expectedBytesWritten = sizeof(void*) == 8 ? 48 : 40;
+ const size_t expectedBytesWritten = sizeof(void*) == 8 ? 40 : 32;
ASSERT(expectedBytesWritten == writer.bytesWritten());
const uint32_t* written = writer.getWriter32()->contiguousArray();