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

Unified Diff: tests/Test.h

Issue 23453031: Rewrite SkTRegistry to take any trivially-copyable type. (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: Created 7 years, 3 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
Index: tests/Test.h
diff --git a/tests/Test.h b/tests/Test.h
index 27b31df94dfabb890f74dcfb18c426b75950b29e..1c89f98e09f437ada747dcbbbecd62cca0a114c2 100644
--- a/tests/Test.h
+++ b/tests/Test.h
@@ -86,7 +86,7 @@ namespace skiatest {
private:
};
- typedef SkTRegistry<Test*, void*> TestRegistry;
+ typedef SkTRegistry<Test*(*)(void*)> TestRegistry;
}
#define REPORTER_ASSERT(r, cond) \

Powered by Google App Engine
This is Rietveld 408576698