Add SK_API to SkPixelRef and TextureCacheEntry.
authorsenorblanco@chromium.org <senorblanco@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>
Thu, 9 Feb 2012 16:07:08 +0000 (16:07 +0000)
committersenorblanco@chromium.org <senorblanco@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>
Thu, 9 Feb 2012 16:07:08 +0000 (16:07 +0000)
Review URL:  http://codereview.appspot.com/5649044/

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

include/core/SkPixelRef.h
include/gpu/GrContext.h

index 3f07844..d5f6ab2 100644 (file)
@@ -50,7 +50,7 @@ class SkGpuTexture;
 
     This class can be shared/accessed between multiple threads.
 */
-class SkPixelRef : public SkRefCnt {
+class SK_API SkPixelRef : public SkRefCnt {
 public:
     explicit SkPixelRef(SkBaseMutex* mutex = NULL);
 
index 3fb4775..bee1577 100644 (file)
@@ -87,7 +87,7 @@ public:
      * Token that refers to an entry in the texture cache. Returned by
      * functions that lock textures. Passed to unlockTexture.
      */
-    class TextureCacheEntry {
+    class SK_API TextureCacheEntry {
     public:
         TextureCacheEntry() : fEntry(NULL) {}
         TextureCacheEntry(const TextureCacheEntry& e) : fEntry(e.fEntry) {}