summaryrefslogtreecommitdiffstats
path: root/skia/ext/bitmap_platform_device_mac.h
diff options
context:
space:
mode:
Diffstat (limited to 'skia/ext/bitmap_platform_device_mac.h')
-rwxr-xr-xskia/ext/bitmap_platform_device_mac.h7
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