diff options
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/SkCanvas.cpp | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/src/core/SkCanvas.cpp b/src/core/SkCanvas.cpp index 9ba76215e1..7d1ecbf8e9 100644 --- a/src/core/SkCanvas.cpp +++ b/src/core/SkCanvas.cpp @@ -705,14 +705,6 @@ int SkCanvas::internalSave(SaveFlags flags) { fClipStack.save(); SkASSERT(fClipStack.getSaveCount() == this->getSaveCount() - 1); - for (DeviceCM* curLayer = fMCRec->fTopLayer; - curLayer; - curLayer = curLayer->fNext) { - if (NULL != curLayer->fDevice) { - curLayer->fDevice->postSave(); - } - } - return saveCount; } @@ -883,14 +875,6 @@ void SkCanvas::restore() { void SkCanvas::internalRestore() { SkASSERT(fMCStack.count() != 0); - for (DeviceCM* curLayer = fMCRec->fTopLayer; - curLayer; - curLayer = curLayer->fNext) { - if (NULL != curLayer->fDevice) { - curLayer->fDevice->preRestore(); - } - } - fDeviceCMDirty = true; fLocalBoundsCompareTypeDirty = true; fLocalBoundsCompareTypeDirtyBW = true; |