Make gfx::Image instance a local variable.

This follows https://codereview.chromium.org/2709683002
This commit is contained in:
Yury Solovyov 2018-01-08 12:47:25 +03:00
parent c1d68974ab
commit b3743058c0
4 changed files with 18 additions and 12 deletions

View file

@ -82,8 +82,6 @@ class IconLoader {
IconSize icon_size_;
std::unique_ptr<gfx::Image> image_;
IconLoadedCallback callback_;
DISALLOW_COPY_AND_ASSIGN(IconLoader);