aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/utils/mac
diff options
context:
space:
mode:
authorGravatar reed@android.com <reed@android.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2011-01-03 19:52:17 +0000
committerGravatar reed@android.com <reed@android.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2011-01-03 19:52:17 +0000
commitad789ee56f62779626899a74e078bd3410229998 (patch)
tree31bc85ac632b7907c4271a921f162d802cfa44c2 /include/utils/mac
parent38669c12c5ab784d5ad94eb2b26b89becac2ba12 (diff)
make inline helper static, so it can be included from than one .cpp
git-svn-id: http://skia.googlecode.com/svn/trunk@667 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'include/utils/mac')
-rw-r--r--include/utils/mac/SkCGUtils.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/utils/mac/SkCGUtils.h b/include/utils/mac/SkCGUtils.h
index 8a8a1ed9f3..2d0853fc08 100644
--- a/include/utils/mac/SkCGUtils.h
+++ b/include/utils/mac/SkCGUtils.h
@@ -21,7 +21,7 @@ CGImageRef SkCreateCGImageRefWithColorspace(const SkBitmap& bm,
* Create an imageref from the specified bitmap using the colorspace
* kCGColorSpaceGenericRGB
*/
-CGImageRef SkCreateCGImageRef(const SkBitmap& bm) {
+static CGImageRef SkCreateCGImageRef(const SkBitmap& bm) {
return SkCreateCGImageRefWithColorspace(bm, NULL);
}