diff options
author | brettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-01-14 16:58:55 +0000 |
---|---|---|
committer | brettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-01-14 16:58:55 +0000 |
commit | 87080c619c9d60f0ed3aa988d89b36c35eca95b1 (patch) | |
tree | 93d5c34a529858c1d891a55a092ee53efd06976b /skia/ext/bitmap_platform_device_mac.h | |
parent | c31085d9656ff79a389318ffc7afed0fd2cd296c (diff) | |
download | chromium_src-87080c619c9d60f0ed3aa988d89b36c35eca95b1.zip chromium_src-87080c619c9d60f0ed3aa988d89b36c35eca95b1.tar.gz chromium_src-87080c619c9d60f0ed3aa988d89b36c35eca95b1.tar.bz2 |
Remove a bunch of base dependencies from skia/ext. The only nontrivial change is
in bitmap_platform_device_mac. The refcounting now matches the way the Windows
file works.
Review URL: http://codereview.chromium.org/17627
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8015 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'skia/ext/bitmap_platform_device_mac.h')
-rwxr-xr-x | skia/ext/bitmap_platform_device_mac.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/skia/ext/bitmap_platform_device_mac.h b/skia/ext/bitmap_platform_device_mac.h index 01176aa..2e31eb2 100755 --- a/skia/ext/bitmap_platform_device_mac.h +++ b/skia/ext/bitmap_platform_device_mac.h @@ -81,12 +81,13 @@ class BitmapPlatformDeviceMac : public PlatformDeviceMac { // starts accessing pixel data. virtual void onAccessBitmap(SkBitmap*); - // Data associated with this device, guaranteed non-null. - scoped_refptr<BitmapPlatformDeviceMacData> data_; - virtual void processPixels(int x, int y, int width, int height, adjustAlpha adjustor); + + // Data associated with this device, guaranteed non-null. We hold a reference + // to this object. + BitmapPlatformDeviceMacData* data_; }; } // namespace skia |