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

Unified Diff: tools/perf/benchmarks/skpicture_printer.py

Issue 1263063003: Revert of Create classes_util API, change discover to return a list instead of a dict. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 5 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 | « tools/perf/benchmarks/benchmark_unittest.py ('k') | tools/perf/measurements/measurement_smoke_test.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/perf/benchmarks/skpicture_printer.py
diff --git a/tools/perf/benchmarks/skpicture_printer.py b/tools/perf/benchmarks/skpicture_printer.py
index 2ed7b5a5de53c7c3314b9f905c1b1164c51a06b5..0247320f3135fc28a4620b21e1e8fcdacbb0f5a3 100644
--- a/tools/perf/benchmarks/skpicture_printer.py
+++ b/tools/perf/benchmarks/skpicture_printer.py
@@ -5,15 +5,15 @@
from core import perf_benchmark
from telemetry import benchmark
+from telemetry.core import discover
from telemetry import story
-from telemetry.util import classes_util
from measurements import skpicture_printer
def _MatchPageSetName(story_set_name, story_set_base_dir):
- story_sets = classes_util.DiscoverClasses(
- story_set_base_dir, story_set_base_dir, story.StorySet)
+ story_sets = discover.DiscoverClasses(story_set_base_dir, story_set_base_dir,
+ story.StorySet).values()
for s in story_sets:
if story_set_name == s.Name():
return s
« no previous file with comments | « tools/perf/benchmarks/benchmark_unittest.py ('k') | tools/perf/measurements/measurement_smoke_test.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698