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

Unified Diff: content/renderer/render_widget.cc

Issue 1602343002: compositor-worker: cc->blink mutation plumbing (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@compositor-worker-ian-patch
Patch Set: rebase Created 4 years, 11 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 | « content/renderer/render_widget.h ('k') | content/test/web_layer_tree_view_impl_for_testing.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/render_widget.cc
diff --git a/content/renderer/render_widget.cc b/content/renderer/render_widget.cc
index ddd60cb9e6f1a7dace2cb3c442c7f8a78ed5de40..acc43cb8a2fad5d1b9464a93ea44e6d1ad4f37b0 100644
--- a/content/renderer/render_widget.cc
+++ b/content/renderer/render_widget.cc
@@ -1000,6 +1000,13 @@ void RenderWidget::ApplyViewportDeltas(
top_controls_delta);
}
+void RenderWidget::ApplyMutations(const cc::LayerTreeMutations& mutations) {
+ TRACE_EVENT0(TRACE_DISABLED_BY_DEFAULT("compositor-worker"),
+ "RenderWidget::ApplyMutations");
+ webwidget_->applyCompositorMutations(
+ static_cast<const blink::WebCompositorMutations&>(mutations));
piman 2016/01/29 01:50:08 This bothers me a little, because I have no way of
+}
+
void RenderWidget::BeginMainFrame(double frame_time_sec) {
webwidget_->beginFrame(frame_time_sec);
}
« no previous file with comments | « content/renderer/render_widget.h ('k') | content/test/web_layer_tree_view_impl_for_testing.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698