Fix broken test.

Review URL: https://codereview.appspot.com/6450133

git-svn-id: http://skia.googlecode.com/svn/trunk@5092 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
scroggo@google.com 2012-08-14 19:30:20 +00:00
parent 664fab1b34
commit 40fbb1810a

View File

@ -43,9 +43,9 @@ static void testCreate(skiatest::Reporter* reporter, const void* obj,
Controller controller;
// No need to delete data because that will be taken care of by the
// controller.
SkFlatData* data1 = SkFlatData::Create(&controller, obj, 0, flattenProc, 0);
SkFlatData* data1 = SkFlatData::Create(&controller, obj, 0, flattenProc);
data1->setSentinelInCache();
SkFlatData* data2 = SkFlatData::Create(&controller, obj, 1, flattenProc, 0);
SkFlatData* data2 = SkFlatData::Create(&controller, obj, 1, flattenProc);
data2->setSentinelAsCandidate();
REPORTER_ASSERT(reporter, SkFlatData::Compare(data1, data2) == 0);
}