Adding SK_API to export SkImage and SkSurface API classes
authorjunov@chromium.org <junov@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>
Thu, 18 Apr 2013 13:28:19 +0000 (13:28 +0000)
committerjunov@chromium.org <junov@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>
Thu, 18 Apr 2013 13:28:19 +0000 (13:28 +0000)
Review URL: https://codereview.chromium.org/14328002

git-svn-id: http://skia.googlecode.com/svn/trunk@8736 2bbb7eff-a529-9590-31e7-b0007b416f81

include/core/SkImage.h
include/core/SkSurface.h

index b8ebc3a..3920eea 100644 (file)
@@ -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)
 
index 4a38029..d4d5c52 100644 (file)
@@ -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)