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

Unified Diff: cc/surfaces/surfaces_pixeltest.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_unittest.cc ('k') | components/viz/frame_sinks/gpu_compositor_frame_sink.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/surfaces/surfaces_pixeltest.cc
diff --git a/cc/surfaces/surfaces_pixeltest.cc b/cc/surfaces/surfaces_pixeltest.cc
index 36f1ba91f1a5ca32a68c2b8d27f5e479ce5ba413..2917c086e42a9988b948602407524da5eca9dd9b 100644
--- a/cc/surfaces/surfaces_pixeltest.cc
+++ b/cc/surfaces/surfaces_pixeltest.cc
@@ -40,7 +40,7 @@ class SurfacesPixelTest : public RendererPixelTest<GLRenderer> {
kIsRoot,
kHandlesFrameSinkIdInvalidation,
kNeedsSyncPoints)) {}
- ~SurfacesPixelTest() override { support_->EvictFrame(); }
+ ~SurfacesPixelTest() override { support_->EvictCurrentSurface(); }
protected:
SurfaceManager manager_;
@@ -182,7 +182,7 @@ TEST_F(SurfacesPixelTest, DrawSimpleAggregatedFrame) {
base::FilePath(FILE_PATH_LITERAL("blue_yellow.png")),
pixel_comparator));
- child_support->EvictFrame();
+ child_support->EvictCurrentSurface();
}
// Tests a surface quad that has a non-identity transform into its pass.
@@ -324,8 +324,8 @@ TEST_F(SurfacesPixelTest, DrawAggregatedFrameWithSurfaceTransforms) {
base::FilePath(FILE_PATH_LITERAL("four_blue_green_checkers.png")),
pixel_comparator));
- left_support->EvictFrame();
- right_support->EvictFrame();
+ left_support->EvictCurrentSurface();
+ right_support->EvictCurrentSurface();
}
} // namespace
« no previous file with comments | « cc/surfaces/surface_unittest.cc ('k') | components/viz/frame_sinks/gpu_compositor_frame_sink.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698