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

Unified Diff: cc/surfaces/surface_hittest_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_aggregator_unittest.cc ('k') | cc/surfaces/surface_manager_ref_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/surfaces/surface_hittest_unittest.cc
diff --git a/cc/surfaces/surface_hittest_unittest.cc b/cc/surfaces/surface_hittest_unittest.cc
index 9a3c29fd7162245c8b57fd711e28358deb928043..4e406e39ad655fb22ab7a720154cd4bb4ceb60cb 100644
--- a/cc/surfaces/surface_hittest_unittest.cc
+++ b/cc/surfaces/surface_hittest_unittest.cc
@@ -104,7 +104,7 @@ TEST(SurfaceHittestTest, Hittest_BadCompositorFrameDoesNotCrash) {
root_surface_id, gfx::Point(100, 100), &transform));
}
- root_support->EvictFrame();
+ root_support->EvictCurrentSurface();
}
TEST(SurfaceHittestTest, Hittest_SingleSurface) {
@@ -139,7 +139,7 @@ TEST(SurfaceHittestTest, Hittest_SingleSurface) {
RunTests(nullptr, &manager, tests, arraysize(tests));
- root_support->EvictFrame();
+ root_support->EvictCurrentSurface();
}
TEST(SurfaceHittestTest, Hittest_ChildSurface) {
@@ -279,8 +279,8 @@ TEST(SurfaceHittestTest, Hittest_ChildSurface) {
EXPECT_EQ(gfx::Point(25, 25), point_in_target_space);
}
- root_support->EvictFrame();
- child_support->EvictFrame();
+ root_support->EvictCurrentSurface();
+ child_support->EvictCurrentSurface();
}
// This test verifies that hit testing will progress to the next quad if it
@@ -392,8 +392,8 @@ TEST(SurfaceHittestTest, Hittest_InvalidRenderPassDrawQuad) {
RunTests(nullptr, &manager, tests, arraysize(tests));
- root_support->EvictFrame();
- child_support->EvictFrame();
+ root_support->EvictCurrentSurface();
+ child_support->EvictCurrentSurface();
}
TEST(SurfaceHittestTest, Hittest_RenderPassDrawQuad) {
@@ -496,7 +496,7 @@ TEST(SurfaceHittestTest, Hittest_RenderPassDrawQuad) {
RunTests(nullptr, &manager, tests, arraysize(tests));
- support->EvictFrame();
+ support->EvictCurrentSurface();
}
TEST(SurfaceHittestTest, Hittest_SingleSurface_WithInsetsDelegate) {
@@ -634,8 +634,8 @@ TEST(SurfaceHittestTest, Hittest_SingleSurface_WithInsetsDelegate) {
EXPECT_EQ(0, accept_delegate.reject_target_overrides());
EXPECT_EQ(2, accept_delegate.accept_target_overrides());
- root_support->EvictFrame();
- child_support->EvictFrame();
+ root_support->EvictCurrentSurface();
+ child_support->EvictCurrentSurface();
}
} // namespace cc
« no previous file with comments | « cc/surfaces/surface_aggregator_unittest.cc ('k') | cc/surfaces/surface_manager_ref_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698