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

Unified Diff: cc/tiles/tile_manager_unittest.cc

Issue 2706453003: switch to new ImageGenerator API (Closed)
Patch Set: fix new site in tile_manager_unittest.cc Created 3 years, 10 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/skia_common.cc ('k') | content/renderer/render_thread_impl.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 1e2203f0f821b5f80998ff1813d9ef94021bedf6..59f1fd34d6406c6d779190299004392e579156d7 100644
--- a/cc/tiles/tile_manager_unittest.cc
+++ b/cc/tiles/tile_manager_unittest.cc
@@ -2352,7 +2352,8 @@ TEST_F(CheckerImagingTileManagerTest,
recording_source->SetGenerateDiscardableImagesMetadata(true);
sk_sp<SkImage> image = SkImage::MakeFromGenerator(
- new testing::StrictMock<MockImageGenerator>(gfx::Size(512, 512)));
+ base::MakeUnique<testing::StrictMock<MockImageGenerator>>(
+ gfx::Size(512, 512)));
recording_source->add_draw_image(image, gfx::Point(0, 0));
recording_source->Rerecord();
« no previous file with comments | « cc/test/skia_common.cc ('k') | content/renderer/render_thread_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698