| Index: tests/Writer32Test.cpp
|
| diff --git a/tests/Writer32Test.cpp b/tests/Writer32Test.cpp
|
| index fa024baffdab345d5371a7794ad9046c904aedd2..2f8b5c6edff8048897c4a32e5332e998d7cfde71 100644
|
| --- a/tests/Writer32Test.cpp
|
| +++ b/tests/Writer32Test.cpp
|
| @@ -102,8 +102,7 @@ static void test1(skiatest::Reporter* reporter, SkWriter32* writer) {
|
| for (size_t i = 0; i < SK_ARRAY_COUNT(data); ++i) {
|
| REPORTER_ASSERT(reporter, i*4 == writer->bytesWritten());
|
| writer->write32(data[i]);
|
| - uint32_t* addr = writer->peek32(i * 4);
|
| - REPORTER_ASSERT(reporter, data[i] == *addr);
|
| + REPORTER_ASSERT(reporter, data[i] == writer->read32At(i*4));
|
| }
|
|
|
| char buffer[sizeof(data)];
|
|
|