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

Unified Diff: samplecode/ClockFaceView.cpp

Issue 769953002: Remove SK_SUPPORT_LEGACY_DEEPFLATTENING. (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
« no previous file with comments | « include/effects/SkXfermodeImageFilter.h ('k') | samplecode/SampleAll.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: samplecode/ClockFaceView.cpp
diff --git a/samplecode/ClockFaceView.cpp b/samplecode/ClockFaceView.cpp
index 46d4120c9b35710983f18025abf019699c44b903..4ba65bd894b0577a0bdcb878faff8a8fc5e738c2 100644
--- a/samplecode/ClockFaceView.cpp
+++ b/samplecode/ClockFaceView.cpp
@@ -90,13 +90,6 @@ protected:
dst->addCircle(loc.fX, loc.fY, fRadius);
}
-#ifdef SK_SUPPORT_LEGACY_DEEPFLATTENING
- Dot2DPathEffect(SkReadBuffer& buffer) : INHERITED(buffer) {
- fRadius = buffer.readScalar();
- fPts = NULL;
- }
-#endif
-
virtual void flatten(SkWriteBuffer& buffer) const SK_OVERRIDE {
buffer.writeMatrix(this->getMatrix());
buffer.writeScalar(fRadius);
@@ -126,13 +119,7 @@ public:
}
SK_DECLARE_PUBLIC_FLATTENABLE_DESERIALIZATION_PROCS(InverseFillPE)
-protected:
-#ifdef SK_SUPPORT_LEGACY_DEEPFLATTENING
- InverseFillPE(SkReadBuffer& buffer) : INHERITED(buffer) {}
-#endif
-
private:
-
typedef SkPathEffect INHERITED;
};
« no previous file with comments | « include/effects/SkXfermodeImageFilter.h ('k') | samplecode/SampleAll.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698