summaryrefslogtreecommitdiffstats
path: root/skia/ext/platform_device_mac.cc
diff options
context:
space:
mode:
Diffstat (limited to 'skia/ext/platform_device_mac.cc')
-rwxr-xr-xskia/ext/platform_device_mac.cc9
1 files changed, 0 insertions, 9 deletions
diff --git a/skia/ext/platform_device_mac.cc b/skia/ext/platform_device_mac.cc
index 6722105..0b09b9e 100755
--- a/skia/ext/platform_device_mac.cc
+++ b/skia/ext/platform_device_mac.cc
@@ -33,21 +33,12 @@ bool constrain(int available_size, int* position, int *size) {
return false;
}
-// Sets the opacity of the specified value to 0xFF.
-void makeOpaqueAlphaAdjuster(uint32_t* pixel) {
- *pixel |= 0xFF000000;
-}
-
} // namespace
PlatformDeviceMac::PlatformDeviceMac(const SkBitmap& bitmap)
: SkDevice(bitmap) {
}
-void PlatformDeviceMac::makeOpaque(int x, int y, int width, int height) {
- processPixels(x, y, width, height, makeOpaqueAlphaAdjuster);
-}
-
// Set up the CGContextRef for peaceful coexistence with Skia
void PlatformDeviceMac::InitializeCGContext(CGContextRef context) {
// CG defaults to the same settings as Skia