Index: scripts/slave/recipe_modules/pgo/api.py |
diff --git a/scripts/slave/recipe_modules/pgo/api.py b/scripts/slave/recipe_modules/pgo/api.py |
index e4676ec2901cab372225f96c627feffd44e2b23b..a7921c0dae7bca287687a894729db2ac29ec6e95 100644 |
--- a/scripts/slave/recipe_modules/pgo/api.py |
+++ b/scripts/slave/recipe_modules/pgo/api.py |
@@ -50,7 +50,7 @@ class PGOApi(recipe_api.RecipeApi): |
**bot_config.get('chromium_config_kwargs')) |
self.m.chromium.runhooks(name='Runhooks: Instrumentation phase.') |
# Remove the profile files from the previous builds. |
- self.m.path.rmwildcard('*.pg[cd]', str(self.m.chromium.output_dir)) |
+ self.m.file.rmwildcard('*.pg[cd]', str(self.m.chromium.output_dir)) |
self.m.chromium.compile(name='Compile: Instrumentation phase.', |
force_clobber=bot_config.get('clobber', False)) |