aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core
diff options
context:
space:
mode:
authorGravatar reed <reed@google.com>2015-07-31 11:46:12 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2015-07-31 11:46:12 -0700
commit685f277dbaca5616325defb956fdf223c491ea61 (patch)
tree1f554c441fcd543054917913ec133484ce322531 /src/core
parent65e96b4eb94c1b692f7decc18915cff77c5f1ab3 (diff)
use SkNextID::ImageID for android's stable id
Diffstat (limited to 'src/core')
-rw-r--r--src/core/SkPixelRef.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/SkPixelRef.cpp b/src/core/SkPixelRef.cpp
index 43e2884bdb..e79dfba27c 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