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

Unified Diff: services/ui/ws/window_tree_client_unittest.cc

Issue 2449853004: Getting rid of DelegatedFrameData (Closed)
Patch Set: nit Created 4 years, 1 month 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: services/ui/ws/window_tree_client_unittest.cc
diff --git a/services/ui/ws/window_tree_client_unittest.cc b/services/ui/ws/window_tree_client_unittest.cc
index 25b4f330ea65e729ae39edb33685ce7aa26bffcc..4b9232f9fd64d325b352575315603575d94929c5 100644
--- a/services/ui/ws/window_tree_client_unittest.cc
+++ b/services/ui/ws/window_tree_client_unittest.cc
@@ -2160,14 +2160,11 @@ TEST_F(WindowTreeClientTest, SurfaceIdPropagation) {
window_2_101, mojom::CompositorFrameSinkType::DEFAULT,
mojo::GetProxy(&surface_ptr), std::move(surface_client_ptr));
cc::CompositorFrame compositor_frame;
- compositor_frame.delegated_frame_data =
- base::MakeUnique<cc::DelegatedFrameData>();
std::unique_ptr<cc::RenderPass> render_pass = cc::RenderPass::Create();
gfx::Rect frame_rect(0, 0, 100, 100);
render_pass->SetNew(cc::RenderPassId(1, 1), frame_rect, frame_rect,
gfx::Transform());
- compositor_frame.delegated_frame_data->render_pass_list.push_back(
- std::move(render_pass));
+ compositor_frame.render_pass_list.push_back(std::move(render_pass));
surface_ptr->SubmitCompositorFrame(std::move(compositor_frame));
// Make sure the parent connection gets the surface ID.
wt_client1()->WaitForChangeCount(1);

Powered by Google App Engine
This is Rietveld 408576698