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

Unified Diff: cc/tiles/tile_manager_unittest.cc

Issue 2781183002: Remove image_decode_tasks_enabled flag. (Closed)
Patch Set: fixes 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/test/fake_recording_source.cc ('k') | cc/trees/layer_tree_host.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/tiles/tile_manager_unittest.cc
diff --git a/cc/tiles/tile_manager_unittest.cc b/cc/tiles/tile_manager_unittest.cc
index 73d7277253599312ac4d91b590f8d39ba34ebd14..f2f91ee9712a9fef02766459ab16dd19ee304c15 100644
--- a/cc/tiles/tile_manager_unittest.cc
+++ b/cc/tiles/tile_manager_unittest.cc
@@ -2371,7 +2371,6 @@ TEST_F(CheckerImagingTileManagerTest,
std::unique_ptr<FakeRecordingSource> recording_source =
FakeRecordingSource::CreateFilledRecordingSource(layer_bounds);
recording_source->set_fill_with_nonsolid_color(true);
- recording_source->SetGenerateDiscardableImagesMetadata(true);
sk_sp<SkImage> image = SkImage::MakeFromGenerator(
base::MakeUnique<testing::StrictMock<MockImageGenerator>>(
@@ -2413,7 +2412,6 @@ TEST_F(CheckerImagingTileManagerTest, BuildsImageDecodeQueueAsExpected) {
std::unique_ptr<FakeRecordingSource> recording_source =
FakeRecordingSource::CreateFilledRecordingSource(layer_bounds);
recording_source->set_fill_with_nonsolid_color(true);
- recording_source->SetGenerateDiscardableImagesMetadata(true);
int dimension = 450;
sk_sp<SkImage> image1 =
@@ -2586,7 +2584,6 @@ TEST_F(CheckerImagingTileManagerMemoryTest, AddsAllNowTilesToImageDecodeQueue) {
std::unique_ptr<FakeRecordingSource> recording_source =
FakeRecordingSource::CreateFilledRecordingSource(layer_bounds);
recording_source->set_fill_with_nonsolid_color(true);
- recording_source->SetGenerateDiscardableImagesMetadata(true);
int dimension = 450;
sk_sp<SkImage> image1 =
« no previous file with comments | « cc/test/fake_recording_source.cc ('k') | cc/trees/layer_tree_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698