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

Unified Diff: cc/surfaces/surface_unittest.cc

Issue 2872883002: Rename EvictFrame, EvictSurface to EvictCurrentSurface (Closed)
Patch Set: Rebase Created 3 years, 7 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/surface_synchronization_unittest.cc ('k') | cc/surfaces/surfaces_pixeltest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/surfaces/surface_unittest.cc
diff --git a/cc/surfaces/surface_unittest.cc b/cc/surfaces/surface_unittest.cc
index 3ed47c61a38625319c0dd5d14803812636c7f9e6..c63c0b031ddee46b72ded2524dea24722b6a907a 100644
--- a/cc/surfaces/surface_unittest.cc
+++ b/cc/surfaces/surface_unittest.cc
@@ -35,7 +35,7 @@ TEST(SurfaceTest, SurfaceLifetime) {
SurfaceId surface_id(kArbitraryFrameSinkId, local_surface_id);
support->SubmitCompositorFrame(local_surface_id, test::MakeCompositorFrame());
EXPECT_TRUE(manager.GetSurfaceForId(surface_id));
- support->EvictFrame();
+ support->EvictCurrentSurface();
EXPECT_EQ(NULL, manager.GetSurfaceForId(surface_id));
}
@@ -106,7 +106,7 @@ TEST(SurfaceTest, CopyRequestLifetime) {
copy_requests.find(last_pass_id)->second->SendEmptyResult();
EXPECT_TRUE(copy_called);
- support->EvictFrame();
+ support->EvictCurrentSurface();
}
} // namespace
« no previous file with comments | « cc/surfaces/surface_synchronization_unittest.cc ('k') | cc/surfaces/surfaces_pixeltest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698