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

Unified Diff: cc/surfaces/direct_compositor_frame_sink_unittest.cc

Issue 2449853004: Getting rid of DelegatedFrameData (Closed)
Patch Set: Dana's comment rebase Created 4 years, 2 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/direct_compositor_frame_sink_unittest.cc
diff --git a/cc/surfaces/direct_compositor_frame_sink_unittest.cc b/cc/surfaces/direct_compositor_frame_sink_unittest.cc
index 75a06d98df5c1963896b1a93f0d9ef539607cb1c..992621f01c5dc79f4998e44be83ef45cbca8e15e 100644
--- a/cc/surfaces/direct_compositor_frame_sink_unittest.cc
+++ b/cc/surfaces/direct_compositor_frame_sink_unittest.cc
@@ -77,11 +77,8 @@ class DirectCompositorFrameSinkTest : public testing::Test {
render_pass->SetNew(RenderPassId(1, 1), display_rect_, damage_rect,
gfx::Transform());
- auto frame_data = base::MakeUnique<DelegatedFrameData>();
- frame_data->render_pass_list.push_back(std::move(render_pass));
-
CompositorFrame frame;
- frame.delegated_frame_data = std::move(frame_data);
+ frame.render_pass_list.push_back(std::move(render_pass));
compositor_frame_sink_->SubmitCompositorFrame(std::move(frame));
}

Powered by Google App Engine
This is Rietveld 408576698