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

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

Issue 2458743002: Switching to base::Optional<CompositorFrame> in Android's synchronous compositor IPC messages (Closed)
Patch Set: Created 4 years, 2 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 7c18a5380958f01ab66d467ce904ea51e42c34b3..f9c0f72c887a3473f751b8354c0f7b37ee70326d 100644
--- a/content/renderer/android/synchronous_compositor_proxy.h
+++ b/content/renderer/android/synchronous_compositor_proxy.h
@@ -95,9 +95,11 @@ class SynchronousCompositorProxy : public ui::SynchronousInputHandler,
cc::CompositorFrame frame);
void SendDemandDrawHwReply(cc::CompositorFrame frame,
uint32_t compositor_frame_sink_id,
+ bool has_swapped,
IPC::Message* reply_message);
void SendDemandDrawHwReplyAsync(cc::CompositorFrame frame,
- uint32_t compositor_frame_sink_id);
+ uint32_t compositor_frame_sink_id,
+ bool has_swapped);
void DoDemandDrawSw(const SyncCompositorDemandDrawSwParams& params);
void SubmitCompositorFrameSw(cc::CompositorFrame frame);
void SendDemandDrawSwReply(bool success,

Powered by Google App Engine
This is Rietveld 408576698