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

Unified Diff: include/core/SkCanvas.h

Issue 541073002: add SK_API to forward declare in canvas.h (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: 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 | « no previous file | no next file » | 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 3043a3ee6264d4dae87fe40824370fd2da242965..6b2266a00e263b44f84a58c02984aef2ca753eb5 100644
--- a/include/core/SkCanvas.h
+++ b/include/core/SkCanvas.h
@@ -40,7 +40,7 @@ class GrRenderTarget;
class SkCanvasState;
namespace SkCanvasStateUtils {
- SkCanvasState* CaptureCanvasState(SkCanvas*);// needs gettotalclip()
+ SK_API SkCanvasState* CaptureCanvasState(SkCanvas*);
}
/** \class SkCanvas
@@ -1310,7 +1310,8 @@ private:
friend class SkDeferredDevice; // needs getTopDevice()
friend class SkSurface_Raster; // needs getDevice()
- friend SkCanvasState* SkCanvasStateUtils::CaptureCanvasState(SkCanvas*);// needs gettotalclip()
+ // needs gettotalclip()
+ friend SkCanvasState* SkCanvasStateUtils::CaptureCanvasState(SkCanvas*);
SkBaseDevice* createLayerDevice(const SkImageInfo&);
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698