Index: skia/ext/image_operations.cc |
=================================================================== |
--- skia/ext/image_operations.cc (revision 47443) |
+++ skia/ext/image_operations.cc (working copy) |
@@ -269,9 +269,9 @@ |
SkBitmap ImageOperations::ResizeSubpixel(const SkBitmap& source, |
int dest_width, int dest_height, |
const SkIRect& dest_subset) { |
- // Currently only works on Linux because this is the only platform where |
+ // Currently only works on Linux/BSD because this is the only platform where |
Evan Martin
2010/05/19 11:50:11
s/this is ...platform/these are ...platforms/
(and
|
// SkFontHost::GetSubpixelOrder is defined. |
-#if defined(OS_LINUX) |
+#if defined(OS_POSIX) && !defined(OS_MACOSX) |
// Understand the display. |
const SkFontHost::LCDOrder order = SkFontHost::GetSubpixelOrder(); |
const SkFontHost::LCDOrientation orientation = |
@@ -361,7 +361,7 @@ |
return result; |
#else |
return SkBitmap(); |
-#endif // OS_LINUX |
+#endif // OS_POSIX && !OS_MACOSX |
} |
// static |