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

Unified Diff: src/core/SkRecorder.cpp

Issue 803913005: Remove SkCanvas::isDrawingToLayer (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: 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/SkRecorder.cpp
diff --git a/src/core/SkRecorder.cpp b/src/core/SkRecorder.cpp
index 71a1167543bf48dfefc8cc6c5f0821547a548254..df9669f57e1aeca3610f335d564f85a5487e0b35 100644
--- a/src/core/SkRecorder.cpp
+++ b/src/core/SkRecorder.cpp
@@ -343,10 +343,6 @@ void SkRecorder::endCommentGroup() {
APPEND(EndCommentGroup);
}
-bool SkRecorder::isDrawingToLayer() const {
- return fSaveLayerCount > 0;
mtklein 2014/12/15 17:21:03 Mind removing fSaveLayerCount and fSaveIsSaveLayer
-}
-
void SkRecorder::drawData(const void* data, size_t length) {
APPEND(DrawData, copy((const char*)data), length);
}
« include/core/SkCanvas.h ('K') | « src/core/SkRecorder.h ('k') | src/pipe/SkGPipeWrite.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698