Index: tests/FlatDataTest.cpp |
diff --git a/tests/FlatDataTest.cpp b/tests/FlatDataTest.cpp |
index be4e7cf8ad8693897bdb6114827be1976b2a1179..79f94b39edc2410f74c2e338c273bdc105216522 100644 |
--- a/tests/FlatDataTest.cpp |
+++ b/tests/FlatDataTest.cpp |
@@ -44,10 +44,8 @@ static void testCreate(skiatest::Reporter* reporter, const void* obj, |
// No need to delete data because that will be taken care of by the |
// controller. |
SkFlatData* data1 = SkFlatData::Create(&controller, obj, 0, flattenProc); |
- data1->setSentinelInCache(); |
SkFlatData* data2 = SkFlatData::Create(&controller, obj, 1, flattenProc); |
- data2->setSentinelAsCandidate(); |
- REPORTER_ASSERT(reporter, SkFlatData::Compare(*data1, *data2) == 0); |
+ REPORTER_ASSERT(reporter, *data1 == *data2); |
} |
static void Tests(skiatest::Reporter* reporter) { |