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
diff --git a/tests/FlatDataTest.cpp b/tests/FlatDataTest.cpp
index 10d297a..be4e7cf 100644
--- a/tests/FlatDataTest.cpp
+++ b/tests/FlatDataTest.cpp
@@ -47,7 +47,7 @@
     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) {