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

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

Issue 2888043004: [cc] Add and plumb CFS::DidNotProduceFrame. (Closed)
Patch Set: address nits, rename to DidNotProduceFrame. Created 3 years, 7 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/browser/renderer_host/render_widget_host_view_aura.cc
diff --git a/content/browser/renderer_host/render_widget_host_view_aura.cc b/content/browser/renderer_host/render_widget_host_view_aura.cc
index d44b13ec78f9ad2916e525b85db00ca2b4e05482..21cd1a62b95387c06833771160fccf87bcd5286a 100644
--- a/content/browser/renderer_host/render_widget_host_view_aura.cc
+++ b/content/browser/renderer_host/render_widget_host_view_aura.cc
@@ -944,9 +944,10 @@ void RenderWidgetHostViewAura::SubmitCompositorFrame(
selection.end);
}
-void RenderWidgetHostViewAura::OnBeginFrameDidNotSwap(
+void RenderWidgetHostViewAura::OnDidNotProduceFrame(
const cc::BeginFrameAck& ack) {
- delegated_frame_host_->BeginFrameDidNotSwap(ack);
+ if (delegated_frame_host_)
+ delegated_frame_host_->DidNotProduceFrame(ack);
}
void RenderWidgetHostViewAura::ClearCompositorFrame() {

Powered by Google App Engine
This is Rietveld 408576698