diff options
author | 2012-10-12 14:41:39 +0000 | |
---|---|---|
committer | 2012-10-12 14:41:39 +0000 | |
commit | 6806fe87e0b39e283291c1a1c7d1d864230aa2aa (patch) | |
tree | 12ef79c85e8b6485afcdce8f8588ecc416266dee /include/effects/SkTableMaskFilter.h | |
parent | 97cd69ca23b27d88e08727366c29c1147eb564de (diff) |
Export effects classes with SK_API.
So this works in shared_library build in chromium.
This issue was raised up in the following chromium-dev thread:
https://groups.google.com/a/chromium.org/forum/?hl=en&fromgroups=#!topic/chromium-dev/Z6qzEw8MwVY
R=epoger@google.com,tomhudson@google.com
Review URL: https://codereview.appspot.com/6601065
git-svn-id: http://skia.googlecode.com/svn/trunk@5914 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'include/effects/SkTableMaskFilter.h')
-rw-r--r-- | include/effects/SkTableMaskFilter.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/include/effects/SkTableMaskFilter.h b/include/effects/SkTableMaskFilter.h index 656eaba929..c407b40b94 100644 --- a/include/effects/SkTableMaskFilter.h +++ b/include/effects/SkTableMaskFilter.h @@ -1,4 +1,3 @@ - /* * Copyright 2006 The Android Open Source Project * @@ -6,7 +5,6 @@ * found in the LICENSE file. */ - #ifndef SkTableMaskFilter_DEFINED #define SkTableMaskFilter_DEFINED @@ -18,7 +16,7 @@ Applies a table lookup on each of the alpha values in the mask. Helper methods create some common tables (e.g. gamma, clipping) */ -class SkTableMaskFilter : public SkMaskFilter { +class SK_API SkTableMaskFilter : public SkMaskFilter { public: SkTableMaskFilter(); SkTableMaskFilter(const uint8_t table[256]); @@ -64,4 +62,3 @@ private: }; #endif - |