[Skia] Add SK_API to SkParse.
authorhuangs <huangs@chromium.org>
Mon, 2 Mar 2015 15:51:17 +0000 (07:51 -0800)
committerCommit bot <commit-bot@chromium.org>
Mon, 2 Mar 2015 15:51:17 +0000 (07:51 -0800)
For https://codereview.chromium.org/924063003/ , we would like to use the
SkParse::FindColor().  Adding SK_API to SkParse is necessary for component
build to work.

BUG=skia:

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

include/utils/SkParse.h

index c5aac7d..411605f 100644 (file)
@@ -12,7 +12,7 @@
 
 #include "SkColor.h"
 
-class SkParse {
+class SK_API SkParse {
 public:
     static int Count(const char str[]); // number of scalars or int values
     static int Count(const char str[], char separator);