| Index: tools/perf/page_sets/system_health/media_stories.py
|
| diff --git a/tools/perf/page_sets/system_health/media_stories.py b/tools/perf/page_sets/system_health/media_stories.py
|
| index c8a68ae5caa879c9338ce2858e6157539be9c2ea..ad079e8d4b515282fcec217d1b9a326dc0bcc3a8 100644
|
| --- a/tools/perf/page_sets/system_health/media_stories.py
|
| +++ b/tools/perf/page_sets/system_health/media_stories.py
|
| @@ -45,7 +45,7 @@ class _MediaStory(system_health_story.SystemHealthStory):
|
| self.PLAY_DURATION - self._GetTimeInSeconds(action_runner))
|
|
|
| def _GetTimeInSeconds(self, action_runner):
|
| - minutes, seconds = action_runner.EvaluateJavaScript2(
|
| + minutes, seconds = action_runner.EvaluateJavaScript(
|
| 'document.querySelector({{ selector }}).textContent',
|
| selector=self.TIME_SELECTOR).split(':')
|
| return int(minutes * 60 + seconds)
|
|
|