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

Unified Diff: ui/gfx/image/image.h

Issue 1873463004: gfx::Image: Made Image objects shallow-copy their representations. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. Created 4 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 | « no previous file | ui/gfx/image/image.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/image/image.h
diff --git a/ui/gfx/image/image.h b/ui/gfx/image/image.h
index bf0d9b455fcd6d00c623b41b5d9875dee867ef5d..95df494a89a4e61fad8b5bfae9e7baebf515ea70 100644
--- a/ui/gfx/image/image.h
+++ b/ui/gfx/image/image.h
@@ -191,7 +191,7 @@ class GFX_EXPORT Image {
// Internal class that holds all the representations. This allows the Image to
// be cheaply copied.
- scoped_refptr<internal::ImageStorage> storage_;
+ std::unique_ptr<internal::ImageStorage> storage_;
};
} // namespace gfx
« no previous file with comments | « no previous file | ui/gfx/image/image.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698