Chromium Code Reviews| Index: src/core/SkPictureRecord.cpp |
| diff --git a/src/core/SkPictureRecord.cpp b/src/core/SkPictureRecord.cpp |
| index eec6bc0bcb2034eae08194ef84ae3c4f879a594d..bf3bc191fadc5680b2eeeacf0fb931fef2abe5a1 100644 |
| --- a/src/core/SkPictureRecord.cpp |
| +++ b/src/core/SkPictureRecord.cpp |
| @@ -187,10 +187,6 @@ void SkPictureRecord::recordSaveLayer(const SkRect* bounds, const SkPaint* paint |
| this->validate(initialOffset, size); |
| } |
| -bool SkPictureRecord::isDrawingToLayer() const { |
| - return fFirstSavedLayerIndex != kNoSavedLayerIndex; |
|
mtklein
2014/12/15 17:33:34
Also clean up fFirstSaveLayerIndex / kNoSavedLayer
|
| -} |
| - |
| #ifdef SK_DEBUG |
| /* |
| * Read the op code from 'offset' in 'writer' and extract the size too. |