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

Unified Diff: cc/surfaces/display_unittest.cc

Issue 2096493002: Make cc::CompositorFrames movable [Part 1 of 2] (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed Dana's nits Created 4 years, 6 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/surfaces/surface_display_output_surface.h » ('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 3a7ede8e5425ab48ed51136cf85a2096cc73b715..5b38d20edaf4b29770659044d389ad725f211404 100644
--- a/cc/surfaces/display_unittest.cc
+++ b/cc/surfaces/display_unittest.cc
@@ -386,7 +386,7 @@ TEST_F(DisplayTest, DisplayDamaged) {
// Latency info from previous frame should be sent now.
EXPECT_EQ(1u,
- output_surface_->last_sent_frame().metadata.latency_info.size());
+ output_surface_->last_sent_frame()->metadata.latency_info.size());
}
{
@@ -412,7 +412,7 @@ TEST_F(DisplayTest, DisplayDamaged) {
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());
+ output_surface_->last_sent_frame()->metadata.latency_info.size());
}
factory_.Destroy(surface_id);
« no previous file with comments | « cc/surfaces/display.cc ('k') | cc/surfaces/surface_display_output_surface.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698