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

Unified Diff: cc/test/test_compositor_frame_sink.cc

Issue 2449853004: Getting rid of DelegatedFrameData (Closed)
Patch Set: IsEmpty + 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/test/test_compositor_frame_sink.cc
diff --git a/cc/test/test_compositor_frame_sink.cc b/cc/test/test_compositor_frame_sink.cc
index 1d33bf97d21be488236ddd6bf073fb3ff6473c5c..92b8a12ad39e6e4beda00ca0421b41479c08c51a 100644
--- a/cc/test/test_compositor_frame_sink.cc
+++ b/cc/test/test_compositor_frame_sink.cc
@@ -135,8 +135,7 @@ void TestCompositorFrameSink::SubmitCompositorFrame(CompositorFrame frame) {
display_->SetSurfaceId(SurfaceId(frame_sink_id_, delegated_local_frame_id_),
frame.metadata.device_scale_factor);
- gfx::Size frame_size =
- frame.delegated_frame_data->render_pass_list.back()->output_rect.size();
+ gfx::Size frame_size = frame.render_pass_list.back()->output_rect.size();
display_->Resize(frame_size);
bool synchronous = !display_->has_scheduler();

Powered by Google App Engine
This is Rietveld 408576698