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

Unified Diff: services/ui/surfaces/display_compositor.h

Issue 2167713002: cc: Delete SurfaceDrawStatus (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed Scott's comments Created 4 years, 5 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
Index: services/ui/surfaces/display_compositor.h
diff --git a/services/ui/surfaces/display_compositor.h b/services/ui/surfaces/display_compositor.h
index f498da894a6cf1c6d649a6beefc610fa450f995f..b713def411edd4af8ca0496c3c2680033afda1c0 100644
--- a/services/ui/surfaces/display_compositor.h
+++ b/services/ui/surfaces/display_compositor.h
@@ -38,9 +38,8 @@ class DisplayCompositor : public cc::SurfaceFactoryClient,
// display should be changed. A well-behaving embedder should only submit
// a CompositorFrame once per BeginFrame tick. The callback is called the
// first time this frame is used to draw, or if the frame is discarded.
- void SubmitCompositorFrame(
- cc::CompositorFrame frame,
- const base::Callback<void(cc::SurfaceDrawStatus)>& callback);
+ void SubmitCompositorFrame(cc::CompositorFrame frame,
+ const base::Callback<void()>& callback);
// TODO(fsamuel): This is used for surface hittesting and should not be
// exposed outside of DisplayCompositor.
« no previous file with comments | « services/ui/public/interfaces/gpu/display_compositor.mojom ('k') | services/ui/surfaces/display_compositor.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698