aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/encode
diff options
context:
space:
mode:
Diffstat (limited to 'include/encode')
-rw-r--r--include/encode/SkWebpEncoder.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/encode/SkWebpEncoder.h b/include/encode/SkWebpEncoder.h
index 58ee06d1c6..8d894a442c 100644
--- a/include/encode/SkWebpEncoder.h
+++ b/include/encode/SkWebpEncoder.h
@@ -12,9 +12,9 @@
class SkWStream;
-namespace SK_API SkWebpEncoder {
+namespace SkWebpEncoder {
- struct Options {
+ struct SK_API Options {
/**
* |fQuality| must be in [0.0f, 100.0f] where 0.0f corresponds to the lowest quality.
*/
@@ -34,7 +34,7 @@ namespace SK_API SkWebpEncoder {
*
* Returns true on success. Returns false on an invalid or unsupported |src|.
*/
- bool Encode(SkWStream* dst, const SkPixmap& src, const Options& options);
+ SK_API bool Encode(SkWStream* dst, const SkPixmap& src, const Options& options);
};
#endif