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

Unified Diff: content/browser/renderer_host/render_widget_host_view_mac.mm

Issue 2890063002: Send BeginFrames for the renderer using Mojo (Closed)
Patch Set: c 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_mac.mm
diff --git a/content/browser/renderer_host/render_widget_host_view_mac.mm b/content/browser/renderer_host/render_widget_host_view_mac.mm
index efe95f0a6e7492a295e168eaa7c62e2d5582fbc3..87441b8fd4f50405223b88fbbe91b13216e20264 100644
--- a/content/browser/renderer_host/render_widget_host_view_mac.mm
+++ b/content/browser/renderer_host/render_widget_host_view_mac.mm
@@ -400,13 +400,10 @@ SkColor RenderWidgetHostViewMac::BrowserCompositorMacGetGutterColor(
return color;
}
-void RenderWidgetHostViewMac::BrowserCompositorMacSendBeginFrame(
- const cc::BeginFrameArgs& args) {
+void RenderWidgetHostViewMac::BrowserCompositorMacOnBeginFrame() {
needs_flush_input_ = false;
render_widget_host_->OnBeginFrame();
UpdateNeedsBeginFramesInternal();
- render_widget_host_->Send(
- new ViewMsg_BeginFrame(render_widget_host_->GetRoutingID(), args));
}
////////////////////////////////////////////////////////////////////////////////

Powered by Google App Engine
This is Rietveld 408576698