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

Unified Diff: src/core/SkCanvas.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/SkCanvas.cpp
diff --git a/src/core/SkCanvas.cpp b/src/core/SkCanvas.cpp
index a72b58c7cbc8d407b34b0796119bf4a66dcb91bd..36c5b25b005b4772f9ddb8f571b6d36414e8893f 100644
--- a/src/core/SkCanvas.cpp
+++ b/src/core/SkCanvas.cpp
@@ -1046,10 +1046,6 @@ void SkCanvas::internalRestore() {
}
}
-bool SkCanvas::isDrawingToLayer() const {
- return fSaveLayerCount > 0;
mtklein 2014/12/15 17:33:34 Looks like we don't need fSaveLayerCount anymore?
-}
-
SkSurface* SkCanvas::newSurface(const SkImageInfo& info, const SkSurfaceProps* props) {
if (NULL == props) {
props = &fProps;

Powered by Google App Engine
This is Rietveld 408576698