Chromium Code Reviews| Index: cc/surfaces/surface_aggregator.cc |
| diff --git a/cc/surfaces/surface_aggregator.cc b/cc/surfaces/surface_aggregator.cc |
| index a5e31ddc480f8a6f040c0b4cb7c8a3ac25e0ce35..5d78365b0b4088439d9b32f080801aeec5cab5cd 100644 |
| --- a/cc/surfaces/surface_aggregator.cc |
| +++ b/cc/surfaces/surface_aggregator.cc |
| @@ -26,6 +26,7 @@ |
| #include "cc/quads/texture_draw_quad.h" |
| #include "cc/resources/resource_provider.h" |
| #include "cc/surfaces/surface.h" |
| +#include "cc/surfaces/surface_aggregator_client.h" |
| #include "cc/surfaces/surface_factory.h" |
| #include "cc/surfaces/surface_manager.h" |
| #include "cc/trees/blocking_task_runner.h" |
| @@ -757,7 +758,7 @@ gfx::Rect SurfaceAggregator::PrewalkTree(const SurfaceId& surface_id, |
| CHECK(debug_weak_this.get()); |
| if (surface->factory()) { |
| - surface->factory()->WillDrawSurface( |
| + surface->factory()->surface_aggregator_client()->WillDrawSurface( |
|
danakj
2017/04/19 14:52:56
Ah ok this one isn't what I expected. A SurfaceAgg
Alex Z.
2017/04/19 15:03:44
Surface::factory() will be replaced with a
compos
danakj
2017/04/19 18:07:55
A surface can be inserted into multiple displays r
|
| surface->surface_id().local_surface_id(), damage_rect); |
| } |