summaryrefslogtreecommitdiffstats
path: root/services/input
diff options
context:
space:
mode:
authorDerek Sollenberger <djsollen@google.com>2012-12-20 14:39:57 -0500
committerDerek Sollenberger <djsollen@google.com>2013-01-08 10:00:54 -0500
commitfc615a0f643408956fc0dc1b997871e2b27cee7e (patch)
tree4365ec88e252096d312fc4c6b0b529b9876eed95 /services/input
parent82f2cc312e50f54d289783d67eca5c55a158917b (diff)
downloadframeworks_base-fc615a0f643408956fc0dc1b997871e2b27cee7e.zip
frameworks_base-fc615a0f643408956fc0dc1b997871e2b27cee7e.tar.gz
frameworks_base-fc615a0f643408956fc0dc1b997871e2b27cee7e.tar.bz2
Remove calls to SkCanvas::setBitmapDevice()
Change-Id: Ib0aa2f65b77802b105c0e8a9d7cdde2e863d3673
Diffstat (limited to 'services/input')
-rw-r--r--services/input/SpriteController.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/services/input/SpriteController.cpp b/services/input/SpriteController.cpp
index 1f3d2cf..8163ea0 100644
--- a/services/input/SpriteController.cpp
+++ b/services/input/SpriteController.cpp
@@ -208,8 +208,7 @@ void SpriteController::doUpdateSprites() {
surfaceInfo.w, surfaceInfo.h, bpr);
surfaceBitmap.setPixels(surfaceInfo.bits);
- SkCanvas surfaceCanvas;
- surfaceCanvas.setBitmapDevice(surfaceBitmap);
+ SkCanvas surfaceCanvas(surfaceBitmap);
SkPaint paint;
paint.setXfermodeMode(SkXfermode::kSrc_Mode);