Index: src/image/SkSurface_Gpu.cpp |
diff --git a/src/image/SkSurface_Gpu.cpp b/src/image/SkSurface_Gpu.cpp |
index 67f54d5bbbab6e243dc51170f39926d299f1af39..dbe82f8c9f1110f890aca581922417f86c43fc3b 100644 |
--- a/src/image/SkSurface_Gpu.cpp |
+++ b/src/image/SkSurface_Gpu.cpp |
@@ -83,7 +83,7 @@ SkImage* SkSurface_Gpu::onNewImageSnapshot(Budgeted budgeted) { |
GrTexture* tex = fDevice->accessRenderTarget()->asTexture(); |
if (tex) { |
image = SkNEW_ARGS(SkImage_Gpu, |
- (info.width(), info.height(), info.alphaType(), |
+ (info.width(), info.height(), kNeedNewImageUniqueID, info.alphaType(), |
tex, sampleCount, budgeted)); |
} |
if (image) { |