summaryrefslogtreecommitdiffstats
path: root/cc/surfaces/surface_aggregator.h
diff options
context:
space:
mode:
Diffstat (limited to 'cc/surfaces/surface_aggregator.h')
-rw-r--r--cc/surfaces/surface_aggregator.h12
1 files changed, 1 insertions, 11 deletions
diff --git a/cc/surfaces/surface_aggregator.h b/cc/surfaces/surface_aggregator.h
index 6df7e6b..738aeec 100644
--- a/cc/surfaces/surface_aggregator.h
+++ b/cc/surfaces/surface_aggregator.h
@@ -60,15 +60,6 @@ class CC_SURFACES_EXPORT SurfaceAggregator {
gfx::Rect rect;
};
- struct PrewalkResult {
- PrewalkResult();
- ~PrewalkResult();
- bool has_copy_requests = false;
- // This is the set of Surfaces that were referenced by another Surface, but
- // not included in a SurfaceDrawQuad.
- std::set<SurfaceId> undrawn_surfaces;
- };
-
ClipData CalculateClipRect(const ClipData& surface_clip,
const ClipData& quad_clip,
const gfx::Transform& target_transform);
@@ -92,8 +83,7 @@ class CC_SURFACES_EXPORT SurfaceAggregator {
const ClipData& clip_rect,
RenderPass* dest_pass,
SurfaceId surface_id);
- gfx::Rect PrewalkTree(SurfaceId surface_id, PrewalkResult* result);
- void CopyUndrawnSurfaces(PrewalkResult* prewalk);
+ gfx::Rect PrewalkTree(SurfaceId surface_id);
void CopyPasses(const DelegatedFrameData* frame_data, Surface* surface);
// Remove Surfaces that were referenced before but aren't currently