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

Unified Diff: src/core/SkCanvas.cpp

Issue 546493002: remove getTotalClipAsPath, privatize getTotalClip (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: namespaces are awesome (not) Created 6 years, 3 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 | « include/core/SkCanvas.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/core/SkCanvas.cpp
diff --git a/src/core/SkCanvas.cpp b/src/core/SkCanvas.cpp
index 2cc86e73e8b93b1115a53192613e5821e630cc48..87cadf4bbaffc819940d7bf8660da3bfde9a4b40 100644
--- a/src/core/SkCanvas.cpp
+++ b/src/core/SkCanvas.cpp
@@ -1682,16 +1682,6 @@ const SkRegion& SkCanvas::internal_private_getTotalClip() const {
return fMCRec->fRasterClip.forceGetBW();
}
-void SkCanvas::internal_private_getTotalClipAsPath(SkPath* path) const {
- path->reset();
-
- const SkRegion& rgn = fMCRec->fRasterClip.forceGetBW();
- if (rgn.isEmpty()) {
- return;
- }
- (void)rgn.getBoundaryPath(path);
-}
-
GrRenderTarget* SkCanvas::internal_private_accessTopLayerRenderTarget() {
SkBaseDevice* dev = this->getTopDevice();
return dev ? dev->accessRenderTarget() : NULL;
« no previous file with comments | « include/core/SkCanvas.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698