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 |