[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