static inline eliminates multiple definitions (and makes it zero-cost, since
it will be inlined) git-svn-id: http://skia.googlecode.com/svn/trunk@668 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
parent
ad789ee56f
commit
4aaee0aecd
@ -21,7 +21,7 @@ CGImageRef SkCreateCGImageRefWithColorspace(const SkBitmap& bm,
|
||||
* Create an imageref from the specified bitmap using the colorspace
|
||||
* kCGColorSpaceGenericRGB
|
||||
*/
|
||||
static CGImageRef SkCreateCGImageRef(const SkBitmap& bm) {
|
||||
static inline CGImageRef SkCreateCGImageRef(const SkBitmap& bm) {
|
||||
return SkCreateCGImageRefWithColorspace(bm, NULL);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user