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

Unified Diff: cc/surfaces/surface_aggregator_unittest.cc

Issue 2676373004: Implement service-side surface synchronization (Closed)
Patch Set: Better unit test name Created 3 years, 10 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/surface_aggregator_unittest.cc
diff --git a/cc/surfaces/surface_aggregator_unittest.cc b/cc/surfaces/surface_aggregator_unittest.cc
index a4227f96121139a96376a11eb0df6280409d5370..788e52eb6390d27084c1c468ff9cb4b5808d8587 100644
--- a/cc/surfaces/surface_aggregator_unittest.cc
+++ b/cc/surfaces/surface_aggregator_unittest.cc
@@ -474,7 +474,7 @@ TEST_F(SurfaceAggregatorValidSurfaceTest, RootCopyRequest) {
// Ensure copy requests have been removed from root surface.
const CompositorFrame& original_frame =
- manager_.GetSurfaceForId(root_surface_id)->GetEligibleFrame();
+ manager_.GetSurfaceForId(root_surface_id)->GetActiveFrame();
const RenderPassList& original_pass_list = original_frame.render_pass_list;
ASSERT_EQ(2u, original_pass_list.size());
DCHECK(original_pass_list[0]->copy_requests.empty());

Powered by Google App Engine
This is Rietveld 408576698