commit | 6669ef2c8564b103581b5ff41199b51ad4fac57c | [log] [tgz] |
---|---|---|
author | William Liu <liuwilliam@chromium.org> | Mon Nov 04 17:55:55 2024 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Mon Nov 04 17:55:55 2024 |
tree | 7980f2ec7404c670fbe2909e493eb4cd4c442a4d | |
parent | 4ebb675670945f21c0cac6f82c748e0c9c904c9c [diff] |
[DNT][Viz] Clean up some debug code Revert https://chromium-review.googlesource.com/c/chromium/src/+/5906379 Bug: 369936885 Change-Id: I05c84abe85f8b0767e6068e15aa6f4a6c598caea Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5984551 Reviewed-by: Khushal Sagar <khushalsagar@chromium.org> Commit-Queue: William Liu <liuwilliam@chromium.org> Cr-Commit-Position: refs/heads/main@{#1377741}
diff --git a/components/viz/service/frame_sinks/compositor_frame_sink_support.cc b/components/viz/service/frame_sinks/compositor_frame_sink_support.cc index 878f20c..c248ce88 100644 --- a/components/viz/service/frame_sinks/compositor_frame_sink_support.cc +++ b/components/viz/service/frame_sinks/compositor_frame_sink_support.cc
@@ -110,16 +110,10 @@ holds_ref_surface_id)) { surface_holds_ref->ResetPendingCopySurfaceId(); } - if (frame_sink_manager) { - // Send the IPC to the browser process even if `result` is empty. The empty - // result will be handled on the browser side. - frame_sink_manager->OnScreenshotCaptured(destination_token, - std::move(result)); - } else { - // TODO(https://crbug.com/369936885): Remove this once the crash reason is - // confirmed. - base::debug::DumpWithoutCrashing(); - } + // Send the IPC to the browser process even if `result` is empty. The empty + // result will be handled on the browser side. + frame_sink_manager->OnScreenshotCaptured(destination_token, + std::move(result)); } } // namespace