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

Unified Diff: cc/surfaces/display_unittest.cc

Issue 2374183006: Remove GLFrameData from CompositorFrame. (Closed)
Patch Set: 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
« no previous file with comments | « cc/surfaces/display.cc ('k') | cc/test/fake_compositor_frame_sink.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/surfaces/display_unittest.cc
diff --git a/cc/surfaces/display_unittest.cc b/cc/surfaces/display_unittest.cc
index 900ec8f0699de8b5906102f3cda4ebd36c10d9b8..b8b814e145e4045adf05b1df78409406a3503801 100644
--- a/cc/surfaces/display_unittest.cc
+++ b/cc/surfaces/display_unittest.cc
@@ -393,8 +393,7 @@ TEST_F(DisplayTest, DisplayDamaged) {
EXPECT_EQ(5u, output_surface_->num_sent_frames());
// Latency info from previous frame should be sent now.
- EXPECT_EQ(1u,
- output_surface_->last_sent_frame()->metadata.latency_info.size());
+ EXPECT_EQ(1u, output_surface_->last_sent_frame()->latency_info.size());
}
{
@@ -419,8 +418,7 @@ TEST_F(DisplayTest, DisplayDamaged) {
software_output_device_->viewport_pixel_size());
EXPECT_EQ(gfx::Rect(0, 0, 100, 100),
software_output_device_->damage_rect());
- EXPECT_EQ(0u,
- output_surface_->last_sent_frame()->metadata.latency_info.size());
+ EXPECT_EQ(0u, output_surface_->last_sent_frame()->latency_info.size());
}
factory_.Destroy(local_frame_id);
« no previous file with comments | « cc/surfaces/display.cc ('k') | cc/test/fake_compositor_frame_sink.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698