Skip to content

Commit

Permalink
Remove use of capturePixelsAsyncThen() which will be removed.
Browse files Browse the repository at this point in the history
This switches to using updateAllLifecyclePhasesAndComposite() instead,
which doesn't pretend to return pixels.

R=yangguo@chromium.org

Bug: 866140, 1069111, 952399
Change-Id: If4ea6117cf176e3649ee4394ae913a404f1652c1
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2208540
Reviewed-by: Yang Guo <yangguo@chromium.org>
Commit-Queue: danakj <danakj@chromium.org>
  • Loading branch information
danakj authored and Commit Bot committed May 29, 2020
1 parent ff850fe commit 4f51138
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion front_end/performance_test_runner/TimelineTestRunner.js
Original file line number Diff line number Diff line change
Expand Up @@ -436,7 +436,7 @@ TestRunner.deprecatedInitAsync(`
let promise = new Promise(fulfill => callback = fulfill);
if (window.testRunner)
testRunner.capturePixelsAsyncThen(callback);
testRunner.updateAllLifecyclePhasesAndCompositeThen(callback);
else
window.requestAnimationFrame(callback);
Expand Down

0 comments on commit 4f51138

Please sign in to comment.