Chromium Code Reviews| Index: cc/trees/layer_tree_host_impl.cc |
| diff --git a/cc/trees/layer_tree_host_impl.cc b/cc/trees/layer_tree_host_impl.cc |
| index 8b1227270b5f39e3cfefa936052e0f585d6c55e0..8453ab56ecaae5d6324be2186b9ec4762a78d201 100644 |
| --- a/cc/trees/layer_tree_host_impl.cc |
| +++ b/cc/trees/layer_tree_host_impl.cc |
| @@ -15,6 +15,7 @@ |
| #include <utility> |
| #include "base/auto_reset.h" |
| +#include "base/bind.h" |
| #include "base/containers/small_map.h" |
| #include "base/json/json_writer.h" |
| #include "base/metrics/histogram.h" |
| @@ -3253,6 +3254,14 @@ void LayerTreeHostImpl::PinchGestureEnd() { |
| SetNeedsRedraw(); |
| } |
| +scoped_ptr<BeginFrameCallbackList> |
| +LayerTreeHostImpl::ProcessLayerTreeMutations() { |
| + // TODO(majidvp): This is where we turn |LayerTreeMutationsCallback| into |
| + // a list of closures. |
| + auto callbacks = make_scoped_ptr(new BeginFrameCallbackList()); |
|
esprehn
2016/03/22 21:16:49
just return it? Why do we need the local?
majidvp
2016/03/23 22:24:53
Fixed.
|
| + return callbacks; |
| +} |
| + |
| static void CollectScrollDeltas(ScrollAndScaleSet* scroll_info, |
| LayerImpl* layer_impl) { |
| if (!layer_impl) |