aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/core/SkRect.h
diff options
context:
space:
mode:
authorGravatar ctguil@chromium.org <ctguil@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>2011-03-15 21:27:08 +0000
committerGravatar ctguil@chromium.org <ctguil@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>2011-03-15 21:27:08 +0000
commit7ffb1b21abcc7bbed5a0fc711f6dd7b9dbb4f577 (patch)
tree6deb18fc39212bf0e90b684e25e3de14044f0a14 /include/core/SkRect.h
parentf67e4cf4c18cd228738a11372859ee0280bce1d7 (diff)
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
Diffstat (limited to 'include/core/SkRect.h')
-rw-r--r--include/core/SkRect.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/core/SkRect.h b/include/core/SkRect.h
index 114d1f990c..53c61eaebd 100644
--- a/include/core/SkRect.h
+++ b/include/core/SkRect.h
@@ -24,7 +24,7 @@
SkIRect holds four 32 bit integer coordinates for a rectangle
*/
-struct SkIRect {
+struct SK_API SkIRect {
int32_t fLeft, fTop, fRight, fBottom;
static SkIRect MakeEmpty() {
@@ -267,7 +267,7 @@ struct SkIRect {
/** \struct SkRect
*/
-struct SkRect {
+struct SK_API SkRect {
SkScalar fLeft, fTop, fRight, fBottom;
static SkRect MakeEmpty() {