Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(139)

Unified Diff: src/core/SkPictureRecord.cpp

Issue 803913005: Remove SkCanvas::isDrawingToLayer (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: moar cleanup Created 6 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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.

Powered by Google App Engine
This is Rietveld 408576698