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

Unified Diff: include/core/SkCanvas.h

Issue 1537193002: remove SK_SUPPORT_LEGACY_SAVELAYERPARAMS code (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 5 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 | « no previous file | src/core/SkCanvas.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/core/SkCanvas.h
diff --git a/include/core/SkCanvas.h b/include/core/SkCanvas.h
index bf52d1c6af753d064c70e27dd4f4623b0ad9b493..ae0dc38202fd5eb82b53028a2e3748e37c8f5433 100644
--- a/include/core/SkCanvas.h
+++ b/include/core/SkCanvas.h
@@ -1245,17 +1245,10 @@ protected:
};
virtual void willSave() {}
-#ifdef SK_SUPPORT_LEGACY_SAVELAYERPARAMS
- virtual SaveLayerStrategy willSaveLayer(const SkRect*, const SkPaint*, SaveFlags) {
- return kFullLayer_SaveLayerStrategy;
- }
- virtual SaveLayerStrategy getSaveLayerStrategy(const SaveLayerRec&);
-#else
// Overriders should call the corresponding INHERITED method up the inheritance chain.
virtual SaveLayerStrategy getSaveLayerStrategy(const SaveLayerRec&) {
return kFullLayer_SaveLayerStrategy;
}
-#endif
virtual void willRestore() {}
virtual void didRestore() {}
virtual void didConcat(const SkMatrix&) {}
« no previous file with comments | « no previous file | src/core/SkCanvas.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698