SK_API SkMallocPixelRef
authorcommit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>
Thu, 16 Jan 2014 14:46:16 +0000 (14:46 +0000)
committercommit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>
Thu, 16 Jan 2014 14:46:16 +0000 (14:46 +0000)
Motivation: make https://codereview.chromium.org/138393002/ work.

R=reed@google.com, djsollen@google.com, bsalomon@google.com

Author: halcanary@google.com

Review URL: https://codereview.chromium.org/135853019

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

include/core/SkMallocPixelRef.h

index c40afc4..aaa045f 100644 (file)
@@ -1,4 +1,3 @@
-
 /*
  * Copyright 2008 The Android Open Source Project
  *
@@ -15,7 +14,7 @@
 /** We explicitly use the same allocator for our pixels that SkMask does,
     so that we can freely assign memory allocated by one class to the other.
 */
-class SkMallocPixelRef : public SkPixelRef {
+class SK_API SkMallocPixelRef : public SkPixelRef {
 public:
     /**
      *  Return a new SkMallocPixelRef with the provided pixel storage, rowBytes,