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

Unified Diff: cc/surfaces/direct_compositor_frame_sink_unittest.cc

Issue 2822143003: Remove ForceReclaimResources (Closed)
Patch Set: Change to RunLoop. Created 3 years, 8 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/direct_compositor_frame_sink.cc ('k') | cc/surfaces/surface.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/surfaces/direct_compositor_frame_sink_unittest.cc
diff --git a/cc/surfaces/direct_compositor_frame_sink_unittest.cc b/cc/surfaces/direct_compositor_frame_sink_unittest.cc
index 5f1b8b885a0b85caaa55583c49b8602f1fbf3c20..bfb38757dc93fd79c272d94167696d10312a4f5f 100644
--- a/cc/surfaces/direct_compositor_frame_sink_unittest.cc
+++ b/cc/surfaces/direct_compositor_frame_sink_unittest.cc
@@ -171,19 +171,6 @@ TEST_F(DirectCompositorFrameSinkTest, SuspendedDoesNotTriggerSwapBuffers) {
EXPECT_EQ(2u, display_output_surface_->num_sent_frames());
}
-TEST_F(DirectCompositorFrameSinkTest,
- LockingResourcesDoesNotIndirectlyCauseDamage) {
- compositor_frame_sink_->ForceReclaimResources();
- EXPECT_EQ(1u, display_output_surface_->num_sent_frames());
- task_runner_->RunPendingTasks();
- EXPECT_EQ(1u, display_output_surface_->num_sent_frames());
-
- SwapBuffersWithDamage(gfx::Rect());
- EXPECT_EQ(1u, display_output_surface_->num_sent_frames());
- task_runner_->RunUntilIdle();
- EXPECT_EQ(1u, display_output_surface_->num_sent_frames());
-}
-
class TestBeginFrameObserver : public BeginFrameObserverBase {
public:
const BeginFrameAck& ack() const { return ack_; }
« no previous file with comments | « cc/surfaces/direct_compositor_frame_sink.cc ('k') | cc/surfaces/surface.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698