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

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

Issue 2835203002: Reject CompositorFrames with no render passes when deserializing (Closed)
Patch Set: Fixed Android Webview Created 3 years, 8 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 fc8c233bb848aaea5779632f963472b457690fdc..cc0907431dbd5123ec0403420e5fc2be7d0f991e 100644
--- a/content/renderer/android/synchronous_compositor_proxy.h
+++ b/content/renderer/android/synchronous_compositor_proxy.h
@@ -95,9 +95,9 @@ class SynchronousCompositorProxy : public ui::SynchronousInputHandler,
uint32_t compositor_frame_sink_id);
void DoDemandDrawSw(const SyncCompositorDemandDrawSwParams& params);
void SubmitCompositorFrameSw(cc::CompositorFrame frame);
- void SendDemandDrawSwReply(bool success,
- cc::CompositorFrame frame,
- IPC::Message* reply_message);
+ void SendDemandDrawSwReply(
+ base::Optional<cc::CompositorFrameMetadata> metadata,
+ IPC::Message* reply_message);
void SendAsyncRendererStateIfNeeded();
void DoDemandDrawHw(const SyncCompositorDemandDrawHwParams& params,
IPC::Message* reply_message);
« no previous file with comments | « content/common/android/sync_compositor_messages.h ('k') | content/renderer/android/synchronous_compositor_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698