diff options
author | bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2013-05-17 19:05:03 +0000 |
---|---|---|
committer | bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2013-05-17 19:05:03 +0000 |
commit | 20f7f173e05b60f541910d0c1da9850ac73e2958 (patch) | |
tree | 6d06f639a90e18a85b6188eed1a15854b96888fd /tests | |
parent | d7c37425805d5909ed5601bf2fbf14d5c8b4c86b (diff) |
One SkTSearch to rule them all. Allow key to be of different type than the array.
R=bungeman@google.com
Review URL: https://codereview.chromium.org/15070011
git-svn-id: http://skia.googlecode.com/svn/trunk@9182 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'tests')
-rw-r--r-- | tests/FlatDataTest.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/FlatDataTest.cpp b/tests/FlatDataTest.cpp index 10d297a864..be4e7cf8ad 100644 --- a/tests/FlatDataTest.cpp +++ b/tests/FlatDataTest.cpp @@ -47,7 +47,7 @@ static void testCreate(skiatest::Reporter* reporter, const void* obj, data1->setSentinelInCache(); SkFlatData* data2 = SkFlatData::Create(&controller, obj, 1, flattenProc); data2->setSentinelAsCandidate(); - REPORTER_ASSERT(reporter, SkFlatData::Compare(data1, data2) == 0); + REPORTER_ASSERT(reporter, SkFlatData::Compare(*data1, *data2) == 0); } static void Tests(skiatest::Reporter* reporter) { |