Index: tools/perf/page_sets/system_health/blank_stories.py |
diff --git a/tools/perf/page_sets/system_health/blank_stories.py b/tools/perf/page_sets/system_health/blank_stories.py |
index 24866b0bf20623f17ca14fb5de64763bea4087ec..ffe0eccf0836c7361b43a7609799fef16ad520df 100644 |
--- a/tools/perf/page_sets/system_health/blank_stories.py |
+++ b/tools/perf/page_sets/system_health/blank_stories.py |
@@ -14,7 +14,7 @@ class BlankAboutBlankStory(system_health_story.SystemHealthStory): |
def _DidLoadDocument(self, action_runner): |
# Request a RAF and wait for it to be processed to ensure that the metric |
# Startup.FirstWebContents.NonEmptyPaint2 is recorded. |
- action_runner.ExecuteJavaScript2( |
+ action_runner.ExecuteJavaScript( |
""" |
window.__hasRunRAF = false; |
requestAnimationFrame(function() { |
@@ -22,4 +22,4 @@ class BlankAboutBlankStory(system_health_story.SystemHealthStory): |
}); |
""" |
) |
- action_runner.WaitForJavaScriptCondition2("window.__hasRunRAF") |
+ action_runner.WaitForJavaScriptCondition("window.__hasRunRAF") |