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 342843002: Revert of remove guarded code - there are no more callers (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 6 years, 6 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 | « no previous file | include/effects/SkLayerRasterizer.h » ('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 8640d729b06965ce22ccac1a287554be767f226e..a08e82800c953a344434c2167136e6b9e77a5ea8 100644
--- a/include/core/SkCanvas.h
+++ b/include/core/SkCanvas.h
@@ -1109,6 +1109,15 @@
getting the clip and querying it directly.
*/
virtual ClipType getClipType() const;
+#endif
+
+#ifdef SK_SUPPORT_LEGACY_GETTOTALCLIP
+ /** DEPRECATED -- need to move this guy to private/friend
+ * Return the current device clip (concatenation of all clip calls).
+ * This does not account for the translate in any of the devices.
+ * @return the current device clip (concatenation of all clip calls).
+ */
+ const SkRegion& getTotalClip() const;
#endif
/** Return the clip stack. The clip stack stores all the individual
« no previous file with comments | « no previous file | include/effects/SkLayerRasterizer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698