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

Unified Diff: src/image/SkImage_Generator.cpp

Issue 1357543002: share IDs between cacherator and its host-image (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 5 years, 3 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/image/SkImage_Generator.cpp
diff --git a/src/image/SkImage_Generator.cpp b/src/image/SkImage_Generator.cpp
index 0dda339f618a1cbf00d386e51cc5d4badcb12c32..2bb508f46d11fa24007373189e8c69a5dc26dae9 100644
--- a/src/image/SkImage_Generator.cpp
+++ b/src/image/SkImage_Generator.cpp
@@ -16,7 +16,7 @@
class SkImage_Generator : public SkImage_Base {
public:
SkImage_Generator(SkImageCacherator* cache)
- : INHERITED(cache->info().width(), cache->info().height(), kNeedNewImageUniqueID, NULL)
+ : INHERITED(cache->info().width(), cache->info().height(), cache->uniqueID(), NULL)
, fCache(cache) // take ownership
{}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698