| Index: skia/ext/skia_utils_mac.mm
|
| diff --git a/skia/ext/skia_utils_mac.mm b/skia/ext/skia_utils_mac.mm
|
| index 4281a6ea186baa0ba2656b2627797b11109cd642..59bf2555628a4ea97425c0a3fbfe9c0648c17b50 100644
|
| --- a/skia/ext/skia_utils_mac.mm
|
| +++ b/skia/ext/skia_utils_mac.mm
|
| @@ -15,23 +15,6 @@
|
| #include "third_party/skia/include/core/SkRegion.h"
|
| #include "third_party/skia/include/utils/mac/SkCGUtils.h"
|
|
|
| -// 10.6 API that we use if available.
|
| -#if !defined(MAC_OS_X_VERSION_10_6) || \
|
| - MAC_OS_X_VERSION_MAX_ALLOWED < MAC_OS_X_VERSION_10_6
|
| -
|
| -@interface NSImageRep (NSObject)
|
| -
|
| -- (BOOL)drawInRect:(NSRect)dstSpacePortionRect
|
| - fromRect:(NSRect)srcSpacePortionRect
|
| - operation:(NSCompositingOperation)op
|
| - fraction:(CGFloat)requestedAlpha
|
| - respectFlipped:(BOOL)respectContextIsFlipped
|
| - hints:(NSDictionary*)hints;
|
| -
|
| -@end
|
| -
|
| -#endif // OSes < Mac OS X 10.6
|
| -
|
| namespace {
|
|
|
| // Draws an NSImage or an NSImageRep with a given size into a SkBitmap.
|
|
|