Add code needed to build skia as a windows dll within the chromium project.
- Export/import skia APIs if SKIA_DLL is defined.
- This change has no effect on skia.
Review URL: http://codereview.appspot.com/4282042
git-svn-id: http://skia.googlecode.com/svn/trunk@944 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/include/core/SkPaint.h b/include/core/SkPaint.h
index a4def5f..4a20dd2 100644
--- a/include/core/SkPaint.h
+++ b/include/core/SkPaint.h
@@ -48,7 +48,7 @@
The SkPaint class holds the style and color information about how to draw
geometries, text and bitmaps.
*/
-class SkPaint {
+class SK_API SkPaint {
public:
SkPaint();
SkPaint(const SkPaint& paint);
@@ -56,7 +56,7 @@
SkPaint& operator=(const SkPaint&);
- friend int operator==(const SkPaint& a, const SkPaint& b);
+ SK_API friend int operator==(const SkPaint& a, const SkPaint& b);
friend int operator!=(const SkPaint& a, const SkPaint& b)
{
return !(a == b);