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

Unified Diff: cc/trees/threaded_channel.cc

Issue 1547893003: WIP - compositor worker mega patch. Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . 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 | « cc/trees/threaded_channel.h ('k') | components/html_viewer/web_layer_tree_view_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/trees/threaded_channel.cc
diff --git a/cc/trees/threaded_channel.cc b/cc/trees/threaded_channel.cc
index 07b17cb571cc5c4798e28737a34323462064f8a2..36da4b644dc223ed8d472c176d6d4f21eb5401f0 100644
--- a/cc/trees/threaded_channel.cc
+++ b/cc/trees/threaded_channel.cc
@@ -10,6 +10,8 @@
#include "cc/animation/animation_events.h"
#include "cc/trees/layer_tree_host.h"
+#include "cc/animation/layer_tree_mutator.h"
+
namespace cc {
ThreadedChannel::ThreadedChannel(ProxyMain* proxy_main,
@@ -53,6 +55,13 @@ void ThreadedChannel::InitializeOutputSurfaceOnImpl(
proxy_impl_weak_ptr_, output_surface));
}
+void ThreadedChannel::InitializeMutatorOnImpl(
+ LayerTreeMutator* mutator) {
+ ImplThreadTaskRunner()->PostTask(
+ FROM_HERE, base::Bind(&ProxyImpl::InitializeMutatorOnImpl,
+ proxy_impl_weak_ptr_, mutator));
+}
+
void ThreadedChannel::MainThreadHasStoppedFlingingOnImpl() {
DCHECK(IsMainThread());
ImplThreadTaskRunner()->PostTask(
« no previous file with comments | « cc/trees/threaded_channel.h ('k') | components/html_viewer/web_layer_tree_view_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698