diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/core/SkPaintPriv.cpp | 1 | ||||
-rw-r--r-- | src/gpu/GrPictureUtils.cpp | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/src/core/SkPaintPriv.cpp b/src/core/SkPaintPriv.cpp index 65fd0e7555..8021f7df83 100644 --- a/src/core/SkPaintPriv.cpp +++ b/src/core/SkPaintPriv.cpp @@ -96,4 +96,3 @@ bool NeedsDeepCopy(const SkPaint& paint) { paint.getLooper() || // needs to hide its addLayer... paint.getImageFilter(); } - diff --git a/src/gpu/GrPictureUtils.cpp b/src/gpu/GrPictureUtils.cpp index 089e421982..996a32d9a3 100644 --- a/src/gpu/GrPictureUtils.cpp +++ b/src/gpu/GrPictureUtils.cpp @@ -207,7 +207,7 @@ private: SkASSERT(kSaveLayer_Usage == usage); fInfo.fHasNestedLayers = true; - return SkNEW_ARGS(GrGatherDevice, (info.width(), info.height(), fPicture, + return SkNEW_ARGS(GrGatherDevice, (info.width(), info.height(), fPicture, fAccelData, fSaveLayerDepth+1)); } |