Index: scripts/slave/recipe_modules/chromium/api.py |
diff --git a/scripts/slave/recipe_modules/chromium/api.py b/scripts/slave/recipe_modules/chromium/api.py |
index 4bf16fcb1ff5d4fe022ec137d34b3812effcc745..d469d03fec80fde17f2ad8b0cae26170bb880e95 100644 |
--- a/scripts/slave/recipe_modules/chromium/api.py |
+++ b/scripts/slave/recipe_modules/chromium/api.py |
@@ -313,7 +313,7 @@ class ChromiumApi(recipe_api.RecipeApi): |
full_args.append('--test-type=%s' % test_type) |
step_name = name or t_name |
full_args.append('--step-name=%s' % step_name) |
- if chartjson_file: |
+ if chartjson_file and not 'step_test_data' in kwargs: |
full_args.append('--chartjson-file') |
full_args.append(self.m.json.output()) |
kwargs['step_test_data'] = lambda: self.m.json.test_api.output([]) |