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

Unified Diff: bench/benchmain.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: bench/benchmain.cpp
diff --git a/bench/benchmain.cpp b/bench/benchmain.cpp
index 3b4b6982966b9cf6fe10666c6cc36be09d00d43c..32ce5ef86346e41c954990d5c40ebffffc14889b 100644
--- a/bench/benchmain.cpp
+++ b/bench/benchmain.cpp
@@ -85,7 +85,7 @@ public:
SkBenchmark* next() {
if (fBench) {
- BenchRegistry::Factory f = fBench->factory();
+ BenchRegistry::Data f = fBench->data();
scroggo 2013/09/04 15:40:21 The name f is no longer redundant, and might be be
mtklein 2013/09/04 16:36:46 Renamed everything back to Factory/factory.
fBench = fBench->next();
return f(fParam);
}

Powered by Google App Engine
This is Rietveld 408576698