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

Unified Diff: content/browser/android/synchronous_compositor_browser_filter.cc

Issue 2700823003: clear compositor_host_pending_renderer_state when IPC failed (Closed)
Patch Set: Created 3 years, 10 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/android/synchronous_compositor_browser_filter.cc
diff --git a/content/browser/android/synchronous_compositor_browser_filter.cc b/content/browser/android/synchronous_compositor_browser_filter.cc
index 838c80e7ba3fb3f0a3c897556329dae4a33496a5..f4e661965b7840746bd3629d58c0fb97462efb38 100644
--- a/content/browser/android/synchronous_compositor_browser_filter.cc
+++ b/content/browser/android/synchronous_compositor_browser_filter.cc
@@ -194,12 +194,14 @@ void SynchronousCompositorBrowserFilter::VSyncComplete() {
if (!render_process_host_->Send(
new SyncCompositorMsg_SynchronizeRendererState(routing_ids,
&params))) {
+ compositor_host_pending_renderer_state_.clear();
return;
}
if (compositor_host_pending_renderer_state_.size() != params.size()) {
bad_message::ReceivedBadMessage(render_process_host_,
bad_message::SCO_INVALID_ARGUMENT);
+ compositor_host_pending_renderer_state_.clear();
return;
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698