Index: skia/ext/platform_device_mac.cc |
diff --git a/skia/ext/platform_device_mac.cc b/skia/ext/platform_device_mac.cc |
index 065b7670556380c54872f7ebea5f0192b712d73a..5dfa211c3b4abf7a3cd106ef414dec887b2edf1b 100644 |
--- a/skia/ext/platform_device_mac.cc |
+++ b/skia/ext/platform_device_mac.cc |
@@ -7,21 +7,9 @@ |
#import <ApplicationServices/ApplicationServices.h> |
#include "skia/ext/skia_utils_mac.h" |
-#include "third_party/skia/include/core/SkMatrix.h" |
-#include "third_party/skia/include/core/SkPath.h" |
-#include "third_party/skia/include/core/SkTypes.h" |
-#include "third_party/skia/include/core/SkUtils.h" |
namespace skia { |
-CGContextRef GetBitmapContext(SkBaseDevice* device) { |
- PlatformDevice* platform_device = GetPlatformDevice(device); |
- if (platform_device) |
- return platform_device->GetBitmapContext(); |
- |
- return NULL; |
-} |
- |
CGContextRef PlatformDevice::BeginPlatformPaint() { |
return GetBitmapContext(); |
} |