Index: cc/playback/display_list_recording_source_unittest.cc |
diff --git a/cc/playback/display_list_recording_source_unittest.cc b/cc/playback/display_list_recording_source_unittest.cc |
index 98f827bafe07c5e269d3e8e6173f8dad5b66b63d..bbd94674e83917c01bc7fc5fd05b1cfa346e7321 100644 |
--- a/cc/playback/display_list_recording_source_unittest.cc |
+++ b/cc/playback/display_list_recording_source_unittest.cc |
@@ -215,42 +215,6 @@ TEST(DisplayListRecordingSourceTest, ExposesEnoughNewAreaScrollScenarios) { |
current_recorded_viewport, new_recorded_viewport, layer_size)); |
} |
-// Verifies that UpdateAndExpandInvalidation calls ExposesEnoughNewArea with the |
-// right arguments. |
-TEST(DisplayListRecordingSourceTest, |
- ExposesEnoughNewAreaCalledWithCorrectArguments) { |
- DisplayListRecordingSource recording_source; |
- FakeContentLayerClient client; |
- Region invalidation; |
- gfx::Size layer_size(9000, 9000); |
- gfx::Rect visible_rect(0, 0, 256, 256); |
- |
- recording_source.UpdateAndExpandInvalidation( |
- &client, &invalidation, layer_size, visible_rect, 0, |
- DisplayListRecordingSource::RECORD_NORMALLY); |
- EXPECT_EQ(gfx::Rect(0, 0, 4256, 4256), recording_source.recorded_viewport()); |
- |
- visible_rect.Offset(0, 512); |
- recording_source.UpdateAndExpandInvalidation( |
- &client, &invalidation, layer_size, visible_rect, 0, |
- DisplayListRecordingSource::RECORD_NORMALLY); |
- EXPECT_EQ(gfx::Rect(0, 0, 4256, 4256), recording_source.recorded_viewport()); |
- |
- // Move past the threshold for enough exposed new area. |
- visible_rect.Offset(0, 1); |
- recording_source.UpdateAndExpandInvalidation( |
- &client, &invalidation, layer_size, visible_rect, 0, |
- DisplayListRecordingSource::RECORD_NORMALLY); |
- EXPECT_EQ(gfx::Rect(0, 0, 4256, 4769), recording_source.recorded_viewport()); |
- |
- // Make the bottom of the potential new recorded viewport coincide with the |
- // layer's bottom edge. |
- visible_rect.Offset(0, 231); |
- recording_source.UpdateAndExpandInvalidation( |
- &client, &invalidation, layer_size, visible_rect, 0, |
- DisplayListRecordingSource::RECORD_NORMALLY); |
- EXPECT_EQ(gfx::Rect(0, 0, 4256, 4769), recording_source.recorded_viewport()); |
-} |
TEST(DisplayListRecordingSourceTest, NoGatherImageEmptyImages) { |
gfx::Rect recorded_viewport(0, 0, 256, 256); |