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

Unified Diff: content/browser/renderer_host/compositor_impl_android.cc

Issue 2757373002: Fixing flakiness of TextureLayerChangeInvisibleMailboxTest (Closed)
Patch Set: Drop ack if CFS is gone 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
« no previous file with comments | « cc/trees/single_thread_proxy.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/renderer_host/compositor_impl_android.cc
diff --git a/content/browser/renderer_host/compositor_impl_android.cc b/content/browser/renderer_host/compositor_impl_android.cc
index c98051dcee1e175c034707bf08fd6c501bc77845..6b551f242ea4ca057c5d5b6ce6385e5dda880e1a 100644
--- a/content/browser/renderer_host/compositor_impl_android.cc
+++ b/content/browser/renderer_host/compositor_impl_android.cc
@@ -806,6 +806,8 @@ void CompositorImpl::DidSubmitCompositorFrame() {
void CompositorImpl::DidReceiveCompositorFrameAck() {
TRACE_EVENT0("compositor", "CompositorImpl::DidReceiveCompositorFrameAck");
+ if (!has_compositor_frame_sink_)
danakj 2017/04/04 22:14:47 This would be racey if CompositorImpl can has_comp
Saman Sami 2017/04/04 22:23:47 Interesting. No, it's not obvious to me why it won
+ return;
DCHECK_GT(pending_frames_, 0U);
pending_frames_--;
client_->DidSwapFrame(pending_frames_);
« no previous file with comments | « cc/trees/single_thread_proxy.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698