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

Unified Diff: samplecode/SampleTests.cpp

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: samplecode/SampleTests.cpp
diff --git a/samplecode/SampleTests.cpp b/samplecode/SampleTests.cpp
index d0fab416b7e60b1a2eca7ee875c58c3b5d4adb6f..527d80755c7d6890555f395cad5f0ad58a494774 100644
--- a/samplecode/SampleTests.cpp
+++ b/samplecode/SampleTests.cpp
@@ -35,7 +35,7 @@ public:
Test* next() {
if (fReg) {
- TestRegistry::Factory fact = fReg->factory();
+ TestRegistry::Data fact = fReg->data();
scroggo 2013/09/04 15:40:21 Again, fact might be better named factory now.
mtklein 2013/09/04 16:36:46 Done.
fReg = fReg->next();
Test* test = fact(NULL);
test->setReporter(fReporter);

Powered by Google App Engine
This is Rietveld 408576698