ImageSkiaRep doesn't release memory
This commit is contained in:
parent
b8d364f11e
commit
2f04f76e69
1 changed files with 1 additions and 1 deletions
|
@ -78,7 +78,7 @@ bool AddImageSkiaRep(gfx::ImageSkia* image,
|
|||
if (!decoded)
|
||||
return false;
|
||||
|
||||
image->AddRepresentation(gfx::ImageSkiaRep(*decoded.release(), scale_factor));
|
||||
image->AddRepresentation(gfx::ImageSkiaRep(*decoded, scale_factor));
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue