diff options
author | reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2014-04-17 16:14:26 +0000 |
---|---|---|
committer | reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2014-04-17 16:14:26 +0000 |
commit | 273a00d14f78c34c4654bf6aef3e5bdb7cf105d2 (patch) | |
tree | e0a61cce38f385cd716fc1e2d08b3228ee267179 /tests | |
parent | bf6f6ae2e25f3def5874674caa3c8552ee4b7313 (diff) |
fix expected size in 32bit builds
BUG=skia:
Review URL: https://codereview.chromium.org/240283012
git-svn-id: http://skia.googlecode.com/svn/trunk@14240 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'tests')
-rw-r--r-- | tests/PaintTest.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/PaintTest.cpp b/tests/PaintTest.cpp index 350860cc88..b82aecf5f6 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 ? 36 : 28; + const size_t expectedBytesWritten = sizeof(void*) == 8 ? 36 : 32; ASSERT(expectedBytesWritten == writer.bytesWritten()); const uint32_t* written = writer.getWriter32()->contiguousArray(); |