Commit 9a189bd0 authored by danakj's avatar danakj Committed by Commit Bot

Remove the capturePixelsAsynThen() method on testRunner.

Now that devtools has removed its uses of it, we don't need to keep
this as a synonym for updateAllLifecyclePhasesAndCompositeThen().

This can land after devtools rolls into chromium with:
https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2208540

R=avi@chromium.org

Bug: 952399
Change-Id: I65f7cc4a3356edf7b6b6ee28d50b5c0c8b68b7d5
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2222541Reviewed-by: default avatarAvi Drissman <avi@chromium.org>
Commit-Queue: danakj <danakj@chromium.org>
Cr-Commit-Position: refs/heads/master@{#773272}
parent 9c55431d
...@@ -595,9 +595,6 @@ gin::ObjectTemplateBuilder TestRunnerBindings::GetObjectTemplateBuilder( ...@@ -595,9 +595,6 @@ gin::ObjectTemplateBuilder TestRunnerBindings::GetObjectTemplateBuilder(
// setTimeout() to run asynchronously. // setTimeout() to run asynchronously.
.SetMethod("updateAllLifecyclePhasesAndCompositeThen", .SetMethod("updateAllLifecyclePhasesAndCompositeThen",
&TestRunnerBindings::UpdateAllLifecyclePhasesAndCompositeThen) &TestRunnerBindings::UpdateAllLifecyclePhasesAndCompositeThen)
// TODO(danakj): Remove this when devtools is updated to not use it.
.SetMethod("capturePixelsAsyncThen",
&TestRunnerBindings::UpdateAllLifecyclePhasesAndCompositeThen)
.SetMethod("setAnimationRequiresRaster", .SetMethod("setAnimationRequiresRaster",
&TestRunnerBindings::SetAnimationRequiresRaster) &TestRunnerBindings::SetAnimationRequiresRaster)
.SetMethod("logToStderr", &TestRunnerBindings::LogToStderr) .SetMethod("logToStderr", &TestRunnerBindings::LogToStderr)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment