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

Unified Diff: include/core/SkCanvas.h

Issue 645773002: Turn SkCanvasStateUtils into a class with static functions. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 6 years, 2 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 | « gm/beziers.cpp ('k') | include/utils/SkCanvasStateUtils.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 5998ee5a30280264f792b26caa5a670f81d166f2..4df523edefe31c00e1d4fde07fba2dfe9472ee9c 100644
--- a/include/core/SkCanvas.h
+++ b/include/core/SkCanvas.h
@@ -41,10 +41,6 @@ class GrRenderTarget;
class SkCanvasState;
-namespace SkCanvasStateUtils {
- SK_API SkCanvasState* CaptureCanvasState(SkCanvas*);
-}
-
/** \class SkCanvas
A Canvas encapsulates all of the state about drawing into a device (bitmap).
@@ -1347,7 +1343,7 @@ private:
SkCanvas(const SkBitmap&, const SkSurfaceProps&);
// needs gettotalclip()
- friend SkCanvasState* SkCanvasStateUtils::CaptureCanvasState(SkCanvas*);
+ friend class SkCanvasStateUtils;
SkBaseDevice* createLayerDevice(const SkImageInfo&);
« no previous file with comments | « gm/beziers.cpp ('k') | include/utils/SkCanvasStateUtils.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698