| Index: tools/perf/profile_creators/extension_profile_extender_unittest.py
|
| diff --git a/tools/perf/profile_creators/extension_profile_extender_unittest.py b/tools/perf/profile_creators/extension_profile_extender_unittest.py
|
| index 604987285bb6dae95eb1a134875ee466f19e44a5..6f5992dedcc7cb4a5ed150bae60f76bbe89f6854 100644
|
| --- a/tools/perf/profile_creators/extension_profile_extender_unittest.py
|
| +++ b/tools/perf/profile_creators/extension_profile_extender_unittest.py
|
| @@ -24,7 +24,12 @@ class ExtensionProfileExtenderUnitTest(page_test_test_case.PageTestTestCase):
|
| files_in_crx_dir = 0
|
| try:
|
| options = options_for_unittests.GetCopy()
|
| - options.output_profile_path = tmp_dir
|
| + # TODO(eakuefner): Remove this after crrev.com/1874473006 rolls in.
|
| + try:
|
| + getattr(options, 'output_profile_path')
|
| + options.output_profile_path = tmp_dir
|
| + except AttributeError:
|
| + options.browser_options.output_profile_path = tmp_dir
|
| extender = extension_profile_extender.ExtensionProfileExtender(options)
|
| extender.Run()
|
|
|
|
|