New issue
Advanced search Search tips

Issue 637898 link

Starred by 1 user

Issue metadata

Status: Assigned
Owner:
Cc:
EstimatedDays: ----
NextAction: ----
OS: All
Pri: 2
Type: Feature



Sign in to add a comment

Create ImageSkia constructors which take a unique_ptr to ImageSkiaSource

Project Member Reported by glevin@chromium.org, Aug 15 2016

Issue description

Replace

 ImageSkia(ImageSkiaSource* source, const gfx::Size& size);

with

 ImageSkia(std::unique_ptr<ImageSkiaSource> source, const gfx::Size& size);

to clarify ownership of |source| (and same for |scale| version of constructor).
 

Sign in to add a comment