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

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

Issue 2102123002: Make Satisfy/Require callbacks pass Surface id and sequence by reference (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: More 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
Index: components/mus/gpu/display_compositor/compositor_frame_sink_impl.h
diff --git a/components/mus/gpu/display_compositor/compositor_frame_sink_impl.h b/components/mus/gpu/display_compositor/compositor_frame_sink_impl.h
index f3b7cd077bf00b23a8cca93380063c4c5b639340..e402a7ce2cef7d188b12193717b7510f277af2ec 100644
--- a/components/mus/gpu/display_compositor/compositor_frame_sink_impl.h
+++ b/components/mus/gpu/display_compositor/compositor_frame_sink_impl.h
@@ -42,7 +42,7 @@ class CompositorFrameSinkImpl : public cc::SurfaceFactoryClient,
private:
// SurfaceFactoryClient implementation.
void ReturnResources(const cc::ReturnedResourceArray& resources) override;
- void WillDrawSurface(cc::SurfaceId surface_id,
+ void WillDrawSurface(const cc::SurfaceId& surface_id,
const gfx::Rect& damage_rect) override;
void SetBeginFrameSource(cc::BeginFrameSource* begin_frame_source) override;

Powered by Google App Engine
This is Rietveld 408576698