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

Unified Diff: content/renderer/android/synchronous_compositor_proxy.h

Issue 2096493002: Make cc::CompositorFrames movable [Part 1 of 2] (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed Dana's nits 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: content/renderer/android/synchronous_compositor_proxy.h
diff --git a/content/renderer/android/synchronous_compositor_proxy.h b/content/renderer/android/synchronous_compositor_proxy.h
index a03bcb3d24c98c60f743c3ddf799be37f58b941d..6058aad9adcfd164550c3ba093a36da7a1b8ecb0 100644
--- a/content/renderer/android/synchronous_compositor_proxy.h
+++ b/content/renderer/android/synchronous_compositor_proxy.h
@@ -61,7 +61,7 @@ class SynchronousCompositorProxy
void DidActivatePendingTree() override;
void Invalidate() override;
void SwapBuffers(uint32_t output_surface_id,
- cc::CompositorFrame* frame) override;
+ cc::CompositorFrame frame) override;
void SetOutputSurface(SynchronousCompositorOutputSurface* output_surface);
void OnMessageReceived(const IPC::Message& message);
@@ -88,14 +88,14 @@ class SynchronousCompositorProxy
SyncCompositorCommonRendererParams* common_renderer_params);
void SetScroll(const gfx::ScrollOffset& total_scroll_offset);
- void SwapBuffersHw(uint32_t output_surface_id, cc::CompositorFrame* frame);
- void SendDemandDrawHwReply(cc::CompositorFrame* frame,
+ void SwapBuffersHw(uint32_t output_surface_id, cc::CompositorFrame frame);
+ void SendDemandDrawHwReply(cc::CompositorFrame frame,
uint32_t output_surface_id,
IPC::Message* reply_message);
void DoDemandDrawSw(const SyncCompositorDemandDrawSwParams& params);
- void SwapBuffersSw(cc::CompositorFrame* frame);
+ void SwapBuffersSw(cc::CompositorFrame frame);
void SendDemandDrawSwReply(bool success,
- cc::CompositorFrame* frame,
+ cc::CompositorFrame frame,
IPC::Message* reply_message);
void SendAsyncRendererStateIfNeeded();

Powered by Google App Engine
This is Rietveld 408576698