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

Unified Diff: src/core/SkPictureRecord.cpp

Issue 2150573002: Revert of Added the framework for having canvas/recorder/picture record depth_set's. (Closed) Base URL: https://skia.googlesource.com/skia@master
Patch Set: Created 4 years, 5 months 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
« no previous file with comments | « src/core/SkPictureRecord.h ('k') | src/core/SkRecordDraw.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/core/SkPictureRecord.cpp
diff --git a/src/core/SkPictureRecord.cpp b/src/core/SkPictureRecord.cpp
index ab7c7cd3367434abdb4b4b2c7c1234ff2f27069e..4a6ece17f25a8ce864601ffd706cdf2ebb4aa42a 100644
--- a/src/core/SkPictureRecord.cpp
+++ b/src/core/SkPictureRecord.cpp
@@ -216,15 +216,6 @@
this->addMatrix(matrix);
this->validate(initialOffset, size);
this->INHERITED::didSetMatrix(matrix);
-}
-
-void SkPictureRecord::didTranslateZ(SkScalar z) {
- this->validate(fWriter.bytesWritten(), 0);
- // set Z
- size_t size = sizeof(SkScalar);
- size_t initialOffset = this->addDraw(TRANSLATE_Z, &size);
-
- this->validate(initialOffset, size);
}
static bool regionOpExpands(SkRegion::Op op) {
« no previous file with comments | « src/core/SkPictureRecord.h ('k') | src/core/SkRecordDraw.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698