diff options
author | reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2012-10-01 14:58:57 +0000 |
---|---|---|
committer | reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2012-10-01 14:58:57 +0000 |
commit | dde646afb522ac46d6917ada7c404d91da860bb0 (patch) | |
tree | 885222818c06aeb339385a2a3d20dc7cc43a1da6 /src/core | |
parent | ffad46b264de469b2dd51aab6caaef71099fdbbf (diff) |
re-land removal of setBitmapDevice
git-svn-id: http://skia.googlecode.com/svn/trunk@5746 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/SkCanvas.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/core/SkCanvas.cpp b/src/core/SkCanvas.cpp index 1f8d6af10f..1cd29f3d6a 100644 --- a/src/core/SkCanvas.cpp +++ b/src/core/SkCanvas.cpp @@ -614,12 +614,6 @@ SkDevice* SkCanvas::setDevice(SkDevice* device) { return device; } -SkDevice* SkCanvas::setBitmapDevice(const SkBitmap& bitmap) { - SkDevice* device = this->setDevice(SkNEW_ARGS(SkDevice, (bitmap))); - device->unref(); - return device; -} - bool SkCanvas::readPixels(SkBitmap* bitmap, int x, int y, Config8888 config8888) { |