Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(464)

Unified Diff: tests/FlatDataTest.cpp

Issue 15070011: One SkTSearch to rule them all. Allow key to be of different type than the array. (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: fixes to compile on gcc Created 7 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/utils/win/SkWGL_win.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/FlatDataTest.cpp
diff --git a/tests/FlatDataTest.cpp b/tests/FlatDataTest.cpp
index 10d297a8644555cdc1628c3421bb34d96c53d5df..be4e7cf8ad8693897bdb6114827be1976b2a1179 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) {
« no previous file with comments | « src/utils/win/SkWGL_win.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698