aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/core
diff options
context:
space:
mode:
authorGravatar junov@chromium.org <junov@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-04-18 13:28:19 +0000
committerGravatar junov@chromium.org <junov@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-04-18 13:28:19 +0000
commit96447bef11a88e5a6c5bb3223133a73db87ca87a (patch)
treed981dca12cbfb0cc4614fd498a6d0ed45c2de99a /include/core
parent4314f1b8432419ea531bc8d67db919e9541e1579 (diff)
Adding SK_API to export SkImage and SkSurface API classes
Review URL: https://codereview.chromium.org/14328002 git-svn-id: http://skia.googlecode.com/svn/trunk@8736 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'include/core')
-rw-r--r--include/core/SkImage.h2
-rw-r--r--include/core/SkSurface.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/include/core/SkImage.h b/include/core/SkImage.h
index b8ebc3aca5..3920eeab00 100644
--- a/include/core/SkImage.h
+++ b/include/core/SkImage.h
@@ -33,7 +33,7 @@ class GrTexture;
* change, if for example that image can be re-created via encoded data or
* other means.
*/
-class SkImage : public SkRefCnt {
+class SK_API SkImage : public SkRefCnt {
public:
SK_DECLARE_INST_COUNT(SkImage)
diff --git a/include/core/SkSurface.h b/include/core/SkSurface.h
index 4a3802912f..d4d5c5237e 100644
--- a/include/core/SkSurface.h
+++ b/include/core/SkSurface.h
@@ -24,7 +24,7 @@ class GrRenderTarget;
* To draw into a canvas, first create the appropriate type of Surface, and
* then request the canvas from the surface.
*/
-class SkSurface : public SkRefCnt {
+class SK_API SkSurface : public SkRefCnt {
public:
SK_DECLARE_INST_COUNT(SkSurface)