Move SK_API from namespace to function

Bug: skia:
Change-Id: Ib538b77c28e323bbcc40634b0f3cd87d88d898e8
Reviewed-on: https://skia-review.googlesource.com/16496
Reviewed-by: Mike Reed <reed@google.com>
Reviewed-by: Matt Sarett <msarett@google.com>
Commit-Queue: Matt Sarett <msarett@google.com>
This commit is contained in:
Matt Sarett 2017-05-11 13:10:06 -04:00 committed by Skia Commit-Bot
parent 80c5f9d045
commit eb7a693e0f

View File

@ -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