Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1088)

Unified Diff: components/mus/gpu/display_compositor/compositor_frame_sink_impl.cc

Issue 2080513002: Deletes mojo::Callback (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « components/mus/clipboard/clipboard_impl.cc ('k') | components/mus/public/cpp/lib/window_surface.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/mus/gpu/display_compositor/compositor_frame_sink_impl.cc
diff --git a/components/mus/gpu/display_compositor/compositor_frame_sink_impl.cc b/components/mus/gpu/display_compositor/compositor_frame_sink_impl.cc
index 942f10fe05eb81447c1ccaaab75e8aa1e232c314..f4aad239397ed5b16071d2578edf73d3aafb2769 100644
--- a/components/mus/gpu/display_compositor/compositor_frame_sink_impl.cc
+++ b/components/mus/gpu/display_compositor/compositor_frame_sink_impl.cc
@@ -15,7 +15,7 @@ namespace gpu {
namespace {
void CallCallback(
- const mojo::Callback<void(mojom::CompositorFrameDrawStatus)>& callback,
+ const mojom::CompositorFrameSink::SubmitCompositorFrameCallback& callback,
cc::SurfaceDrawStatus draw_status) {
callback.Run(static_cast<mojom::CompositorFrameDrawStatus>(draw_status));
}
« no previous file with comments | « components/mus/clipboard/clipboard_impl.cc ('k') | components/mus/public/cpp/lib/window_surface.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698