summaryrefslogtreecommitdiffstats
path: root/skia/ext/bitmap_platform_device_linux.h
diff options
context:
space:
mode:
authortony@chromium.org <tony@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-09-02 00:01:47 +0000
committertony@chromium.org <tony@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-09-02 00:01:47 +0000
commit56164f0194e23d5df428bcfa278556cf96ed639a (patch)
treed52597fb318936393db91d2ad14972ab74443639 /skia/ext/bitmap_platform_device_linux.h
parentaa82299b37136a5de8a842d35eb893be6eb995f8 (diff)
downloadchromium_src-56164f0194e23d5df428bcfa278556cf96ed639a.zip
chromium_src-56164f0194e23d5df428bcfa278556cf96ed639a.tar.gz
chromium_src-56164f0194e23d5df428bcfa278556cf96ed639a.tar.bz2
Move BitmapPlatformDevice::makeOpaque into a shared file
so it's implemented on all platforms. This makes the method available on Linux+Mac, while removing BitmapPlatformDevice::processPixels from Mac (doesn't appear to be used anywhere). Review URL: http://codereview.chromium.org/3227007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@58274 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'skia/ext/bitmap_platform_device_linux.h')
-rw-r--r--skia/ext/bitmap_platform_device_linux.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/skia/ext/bitmap_platform_device_linux.h b/skia/ext/bitmap_platform_device_linux.h
index 172a0f1..1c6579cc 100644
--- a/skia/ext/bitmap_platform_device_linux.h
+++ b/skia/ext/bitmap_platform_device_linux.h
@@ -79,6 +79,8 @@ class BitmapPlatformDevice : public PlatformDevice {
// A stub copy constructor. Needs to be properly implemented.
BitmapPlatformDevice(const BitmapPlatformDevice& other);
+ virtual void makeOpaque(int x, int y, int width, int height);
+
// Bitmaps aren't vector graphics.
virtual bool IsVectorial() { return false; }