aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/core/SkMallocPixelRef.h
diff options
context:
space:
mode:
authorGravatar commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>2014-01-16 14:46:16 +0000
committerGravatar commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>2014-01-16 14:46:16 +0000
commit3aa7a02b65d3798b819abd7c12a0327a6adcabcd (patch)
tree6488afc4a8edc96b480928ee1f62ce2a700d9ed6 /include/core/SkMallocPixelRef.h
parentf5e67c12c864084fa797d1e005d8472ee6f71322 (diff)
SK_API SkMallocPixelRef
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
Diffstat (limited to 'include/core/SkMallocPixelRef.h')
-rw-r--r--include/core/SkMallocPixelRef.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/core/SkMallocPixelRef.h b/include/core/SkMallocPixelRef.h
index c40afc433a..aaa045f948 100644
--- a/include/core/SkMallocPixelRef.h
+++ b/include/core/SkMallocPixelRef.h
@@ -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,