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

Unified Diff: cc/surfaces/surface_aggregator.h

Issue 2802023002: Remove SurfaceFactory And SurfaceFactoryClient (Closed)
Patch Set: Change Ref/UnrefResources to public 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.h
diff --git a/cc/surfaces/surface_aggregator.h b/cc/surfaces/surface_aggregator.h
index 23c7b2f6e748b6628d64f6f724030ca82fbdaa93..8e36690f9c992ecc09d13d339f90c286738e8f33 100644
--- a/cc/surfaces/surface_aggregator.h
+++ b/cc/surfaces/surface_aggregator.h
@@ -21,7 +21,9 @@
namespace cc {
+class BlockingTaskRunner;
class CompositorFrame;
+class CompositorFrameSinkSupport;
class ResourceProvider;
class Surface;
class SurfaceDrawQuad;
@@ -90,6 +92,11 @@ class CC_SURFACES_EXPORT SurfaceAggregator {
int no_active_frame;
};
+ static void UnrefHelper(
+ base::WeakPtr<CompositorFrameSinkSupport> compositor_frame_sink_support,
+ const ReturnedResourceArray& resources,
+ BlockingTaskRunner* main_thread_task_runner);
+
ClipData CalculateClipRect(const ClipData& surface_clip,
const ClipData& quad_clip,
const gfx::Transform& target_transform);

Powered by Google App Engine
This is Rietveld 408576698