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

Unified Diff: cc/surfaces/surface_manager_ref_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_hittest_unittest.cc ('k') | cc/surfaces/surface_synchronization_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/surfaces/surface_manager_ref_unittest.cc
diff --git a/cc/surfaces/surface_manager_ref_unittest.cc b/cc/surfaces/surface_manager_ref_unittest.cc
index a8969ac8217a2272a6fe30c84e85d1ef82ef50f4..e96b795e2981ae0ca57743aab1240d9903390e20 100644
--- a/cc/surfaces/surface_manager_ref_unittest.cc
+++ b/cc/surfaces/surface_manager_ref_unittest.cc
@@ -48,7 +48,8 @@ class SurfaceManagerRefTest : public testing::Test {
// Destroy Surface with |surface_id|.
void DestroySurface(const SurfaceId& surface_id) {
- GetCompositorFrameSinkSupport(surface_id.frame_sink_id()).EvictFrame();
+ GetCompositorFrameSinkSupport(surface_id.frame_sink_id())
+ .EvictCurrentSurface();
}
CompositorFrameSinkSupport& GetCompositorFrameSinkSupport(
@@ -111,7 +112,7 @@ class SurfaceManagerRefTest : public testing::Test {
}
void TearDown() override {
for (auto& support : supports_)
- support.second->EvictFrame();
+ support.second->EvictCurrentSurface();
supports_.clear();
manager_.reset();
}
« no previous file with comments | « cc/surfaces/surface_hittest_unittest.cc ('k') | cc/surfaces/surface_synchronization_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698