Index: tests/DataRefTest.cpp |
diff --git a/tests/DataRefTest.cpp b/tests/DataRefTest.cpp |
index 03b80fb2af4683ffe97bd8ce24e68f2340a35cf7..002abcbe894a816301db7383c17adb79d10a9880 100644 |
--- a/tests/DataRefTest.cpp |
+++ b/tests/DataRefTest.cpp |
@@ -294,11 +294,7 @@ DEF_TEST(RWBuffer, reporter) { |
{ |
SkRWBuffer buffer; |
for (int i = 0; i < N; ++i) { |
- if (0 == (i & 1)) { |
- buffer.append(gABC, 26); |
- } else { |
- memcpy(buffer.append(26), gABC, 26); |
- } |
+ buffer.append(gABC, 26); |
readers[i] = buffer.newRBufferSnapshot(); |
streams[i] = buffer.newStreamSnapshot(); |
} |