summaryrefslogtreecommitdiffstats
path: root/skia/ext/bitmap_platform_device_mac.cc
diff options
context:
space:
mode:
authorvandebo@chromium.org <vandebo@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-04-29 18:32:44 +0000
committervandebo@chromium.org <vandebo@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-04-29 18:32:44 +0000
commit50f4ee805127dd5b4e1b1065eda77389b7293a84 (patch)
treefb508f191e9acc1373ee1669093419d10b6e50f9 /skia/ext/bitmap_platform_device_mac.cc
parentff31667e93c2f61ff9f7d7b1ea9ddb0c6686505b (diff)
downloadchromium_src-50f4ee805127dd5b4e1b1065eda77389b7293a84.zip
chromium_src-50f4ee805127dd5b4e1b1065eda77389b7293a84.tar.gz
chromium_src-50f4ee805127dd5b4e1b1065eda77389b7293a84.tar.bz2
Update Chrome's Skia Device to use the new device factory interface (http://code.google.com/p/skia/source/detail?r=1180).
Remove valgrind suppression. BUG=80836 TEST=NONE Review URL: http://codereview.chromium.org/6883255 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@83555 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'skia/ext/bitmap_platform_device_mac.cc')
-rw-r--r--skia/ext/bitmap_platform_device_mac.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/skia/ext/bitmap_platform_device_mac.cc b/skia/ext/bitmap_platform_device_mac.cc
index 1713192..543fc38 100644
--- a/skia/ext/bitmap_platform_device_mac.cc
+++ b/skia/ext/bitmap_platform_device_mac.cc
@@ -208,10 +208,6 @@ BitmapPlatformDevice::~BitmapPlatformDevice() {
data_->unref();
}
-SkDeviceFactory* BitmapPlatformDevice::getDeviceFactory() {
- return SkNEW(BitmapPlatformDeviceFactory);
-}
-
BitmapPlatformDevice& BitmapPlatformDevice::operator=(
const BitmapPlatformDevice& other) {
data_ = other.data_;
@@ -277,4 +273,8 @@ void BitmapPlatformDevice::onAccessBitmap(SkBitmap*) {
// Not needed in CoreGraphics
}
+SkDeviceFactory* BitmapPlatformDevice::onNewDeviceFactory() {
+ return SkNEW(BitmapPlatformDeviceFactory);
+}
+
} // namespace skia