Index: src/core/SkPixelRef.cpp |
diff --git a/src/core/SkPixelRef.cpp b/src/core/SkPixelRef.cpp |
index 43e2884bdbb82366545c3e44897c80c3f63f9c83..e79dfba27ceebf729ec553cd83bce750c7be6d74 100644 |
--- a/src/core/SkPixelRef.cpp |
+++ b/src/core/SkPixelRef.cpp |
@@ -96,7 +96,7 @@ static SkImageInfo validate_info(const SkImageInfo& info) { |
SkPixelRef::SkPixelRef(const SkImageInfo& info) |
: fInfo(validate_info(info)) |
#ifdef SK_BUILD_FOR_ANDROID_FRAMEWORK |
- , fStableID(next_gen_id()) |
+ , fStableID(SkNextID::ImageID()) |
#endif |
{ |
@@ -116,7 +116,7 @@ SkPixelRef::SkPixelRef(const SkImageInfo& info) |
SkPixelRef::SkPixelRef(const SkImageInfo& info, SkBaseMutex* mutex) |
: fInfo(validate_info(info)) |
#ifdef SK_BUILD_FOR_ANDROID_FRAMEWORK |
- , fStableID(next_gen_id()) |
+ , fStableID(SkNextID::ImageID()) |
#endif |
{ |
#ifdef SK_TRACE_PIXELREF_LIFETIME |