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 |
{} |