Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(154)

Unified Diff: skia/ext/skia_utils_mac.mm

Issue 10785047: Remove all the OS X 10.6 SDK forward declarations. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « remoting/host/capturer_mac.mm ('k') | ui/gfx/video_decode_acceleration_support_mac.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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.
« no previous file with comments | « remoting/host/capturer_mac.mm ('k') | ui/gfx/video_decode_acceleration_support_mac.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698