Index: src/gpu/SkGpuDevice.cpp |
diff --git a/src/gpu/SkGpuDevice.cpp b/src/gpu/SkGpuDevice.cpp |
index 122af65ff9df0996e9e4428ff23fe2f39d77283e..b719f84278d35dca18398d756aef313531c9527e 100644 |
--- a/src/gpu/SkGpuDevice.cpp |
+++ b/src/gpu/SkGpuDevice.cpp |
@@ -1887,7 +1887,8 @@ bool SkGpuDevice::EXPERIMENTAL_drawPicture(SkCanvas* mainCanvas, const SkPicture |
GrCachedLayer* layer = fContext->getLayerCache()->findLayerOrCreate(picture->uniqueID(), |
info.fSaveLayerOpID, |
- info.fRestoreOpID, |
+ info.fRestoreOpID, |
+ info.fOffset, |
info.fOriginXform); |
GrReplacements::ReplacementInfo* layerInfo = replacements.push(); |