summaryrefslogtreecommitdiffstats
path: root/cc/surfaces/surface_aggregator_test_helpers.cc
diff options
context:
space:
mode:
Diffstat (limited to 'cc/surfaces/surface_aggregator_test_helpers.cc')
-rw-r--r--cc/surfaces/surface_aggregator_test_helpers.cc23
1 files changed, 0 insertions, 23 deletions
diff --git a/cc/surfaces/surface_aggregator_test_helpers.cc b/cc/surfaces/surface_aggregator_test_helpers.cc
index a653eb1..63a39af 100644
--- a/cc/surfaces/surface_aggregator_test_helpers.cc
+++ b/cc/surfaces/surface_aggregator_test_helpers.cc
@@ -145,28 +145,5 @@ void TestPassesMatchExpectations(Pass* expected_passes,
}
}
-void SubmitFrame(Pass* passes, size_t pass_count, Surface* surface) {
- RenderPassList pass_list;
- AddPasses(&pass_list, gfx::Rect(surface->size()), passes, pass_count);
-
- scoped_ptr<DelegatedFrameData> frame_data(new DelegatedFrameData);
- pass_list.swap(frame_data->render_pass_list);
-
- scoped_ptr<CompositorFrame> frame(new CompositorFrame);
- frame->delegated_frame_data = frame_data.Pass();
-
- surface->QueueFrame(frame.Pass());
-}
-
-void QueuePassAsFrame(scoped_ptr<RenderPass> pass, Surface* surface) {
- scoped_ptr<DelegatedFrameData> delegated_frame_data(new DelegatedFrameData);
- delegated_frame_data->render_pass_list.push_back(pass.Pass());
-
- scoped_ptr<CompositorFrame> child_frame(new CompositorFrame);
- child_frame->delegated_frame_data = delegated_frame_data.Pass();
-
- surface->QueueFrame(child_frame.Pass());
-}
-
} // namespace test
} // namespace cc