aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar scroggo@google.com <scroggo@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2012-08-14 19:30:20 +0000
committerGravatar scroggo@google.com <scroggo@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2012-08-14 19:30:20 +0000
commit40fbb1810a1bbd53b56afaad8bb5ceee825a337d (patch)
treeebea167e3d6d7b4b8a5f0267952b87c4e7e90294
parent664fab1b3454faea01cbae2f1dc2777c5afb9998 (diff)
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
-rw-r--r--tests/FlatDataTest.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/FlatDataTest.cpp b/tests/FlatDataTest.cpp
index 9d9f390d98..10d297a864 100644
--- a/tests/FlatDataTest.cpp
+++ b/tests/FlatDataTest.cpp
@@ -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);
}