Index: tests/TextBlobTest.cpp |
diff --git a/tests/TextBlobTest.cpp b/tests/TextBlobTest.cpp |
index 5d08b0147d9d046de3b7447dbddb711678286974..70c9ddc861106da9f03f0eacc85ee60f9e6b4f96 100644 |
--- a/tests/TextBlobTest.cpp |
+++ b/tests/TextBlobTest.cpp |
@@ -175,6 +175,9 @@ |
} |
SkAutoTUnref<const SkTextBlob> blob(builder.build()); |
+ REPORTER_ASSERT(reporter, SkToBool(blob->fGlyphBuffer) == (glyphCount > 0)); |
+ REPORTER_ASSERT(reporter, SkToBool(blob->fPosBuffer) == (posCount > 0)); |
+ REPORTER_ASSERT(reporter, SkToBool(blob->fRuns.get()) == (inCount > 0)); |
SkTextBlob::RunIterator it(blob); |
for (unsigned i = 0; i < outCount; ++i) { |