aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/GrLayerCache.h
diff options
context:
space:
mode:
authorGravatar commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>2014-04-07 18:26:22 +0000
committerGravatar commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>2014-04-07 18:26:22 +0000
commit2b4e370a2fe00168838e43f5a78ccc3b371609f5 (patch)
treeb4a5b60609c6d24f01f575a4f97ca98dd2897c73 /src/gpu/GrLayerCache.h
parentc96268d792e8807e0f5ba71fc70caa9f0357edf3 (diff)
Convert SkPicture's generation ID to a unique ID
This CL addresses linger code review comments on r14037 (Add generation ID to SkPicture https://codereview.chromium.org/222683002/) R=reed@google.com Author: robertphillips@google.com Review URL: https://codereview.chromium.org/225283014 git-svn-id: http://skia.googlecode.com/svn/trunk@14079 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'src/gpu/GrLayerCache.h')
-rw-r--r--src/gpu/GrLayerCache.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gpu/GrLayerCache.h b/src/gpu/GrLayerCache.h
index eef20ff23e..0624736338 100644
--- a/src/gpu/GrLayerCache.h
+++ b/src/gpu/GrLayerCache.h
@@ -47,7 +47,7 @@ private:
// It is roughly equivalent to a GrGlyph in the font caching system
class GrAtlasedLayer {
public:
- GrAtlasedLayer() : fPictureID(SkPicture::kInvalidGenID) { }
+ GrAtlasedLayer() : fPictureID(SK_InvalidGenID) { }
uint32_t pictureID() const { return fPictureID; }
int layerID() const { return fLayerID; }