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

Unified Diff: skia/ext/platform_device_mac.h

Issue 3227007: Move BitmapPlatformDevice::makeOpaque into a shared file (Closed) Base URL: http://src.chromium.org/git/chromium.git
Patch Set: Created 10 years, 4 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 | « skia/ext/bitmap_platform_device_win.cc ('k') | skia/skia.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: skia/ext/platform_device_mac.h
diff --git a/skia/ext/platform_device_mac.h b/skia/ext/platform_device_mac.h
index a32667f43d3497a5aedaef03b7adf9debca1a5d0..258e44894f5f85721759bab20433ea4c8312d4db 100644
--- a/skia/ext/platform_device_mac.h
+++ b/skia/ext/platform_device_mac.h
@@ -60,18 +60,6 @@ class PlatformDevice : public SkDevice {
// Loads the specified Skia transform into the device context
static void LoadTransformToCGContext(CGContextRef context,
const SkMatrix& matrix);
-
- // Function pointer used by the processPixels method for setting the alpha
- // value of a particular pixel.
- typedef void (*adjustAlpha)(uint32_t* pixel);
-
- // Loops through each of the pixels in the specified range, invoking
- // adjustor for the alpha value of each pixel.
- virtual void processPixels(int x,
- int y,
- int width,
- int height,
- adjustAlpha adjustor) = 0;
};
} // namespace skia
« no previous file with comments | « skia/ext/bitmap_platform_device_win.cc ('k') | skia/skia.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698