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

Unified Diff: cc/surfaces/surface_aggregator.cc

Issue 2824053003: Split SurfaceFactoryClient Into Four Interfaces (Closed)
Patch Set: Address Nit Created 3 years, 8 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: 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);
}

Powered by Google App Engine
This is Rietveld 408576698